The overall variance and skewness of Two-piece Normal (TPN) is given by:
𝑉(𝑥) = 𝜎1 𝜎2 + (1 − 𝑘2)(𝜎2 − 𝜎1)2
𝛾(𝑥) = 𝑘(𝜎2 − 𝜎1)[(2𝑘2 − 1)(𝜎2 − 𝜎1)^2 + 𝜎1𝜎2]
where 𝑘 =\sqrt(2/pi)
For given values of 𝑉(𝑥) and 𝛾(𝑥), two variances (𝜎1 and 𝜎2) could be estimated. How can I set up this nonlinear simultaneous equations problem in STATA? Any help?
Note: I have tried methods suggested here (https://www.stata.com/support/faqs/p...ear-equations/), but am constantly getting error.
Regards,
𝑉(𝑥) = 𝜎1 𝜎2 + (1 − 𝑘2)(𝜎2 − 𝜎1)2
𝛾(𝑥) = 𝑘(𝜎2 − 𝜎1)[(2𝑘2 − 1)(𝜎2 − 𝜎1)^2 + 𝜎1𝜎2]
where 𝑘 =\sqrt(2/pi)
For given values of 𝑉(𝑥) and 𝛾(𝑥), two variances (𝜎1 and 𝜎2) could be estimated. How can I set up this nonlinear simultaneous equations problem in STATA? Any help?
Note: I have tried methods suggested here (https://www.stata.com/support/faqs/p...ear-equations/), but am constantly getting error.
Regards,
Comment