Help using Base SAS procedures

Solving equations

Reply
Occasional Contributor
Posts: 6

Solving equations

Is there a function in sas 9.4 similar to solve function in matlab that I can use for solving equations:


syms x sig1 sig2 mu1 mu2;
solve(1/sig1/sqrt(2*pi) * exp(-1/2*((x-mu1)/sig1)^2) == 1/sig2/sqrt(2*pi) * exp(-1/2*((x-mu2)/sig2)^2), x)


Thank you.

SAS Employee
Posts: 340

Re: Solving equations

PROC FCMP, solve() function:

Base SAS(R) 9.4 Procedures Guide, Third Edition

+ SAS/IML and SAS/OR have more advanced solvers

Ask a Question
Discussion stats
  • 1 reply
  • 195 views
  • 0 likes
  • 2 in conversation