Dear STATA users,
I am trying to solve equations to find value in STATA. Can you please have a look at the following case and give me some advices:
I have variable X (continuous variable). I would like to form a linear equation:
Y = a + b * X (1)
mean(Y) = 0 (2)
std(Y) = 1 (3)
Can I solve three equations (1), (2), and (3) to find Y, a, and b ?
Thank you very much for your time.
Nguyen.
Related Posts with Solving equations in STATA
Cannot install estout packageHello everyone, I have been experiencing some issues while trying to install the estout package on m…
Case control matching with age, gender and BMIHi I am trying to match data by gender, age range +/- 5 years and BMI +/- 3. With the code below it …
A squared term is negative and significant but the graph is not.A squared term is negative and statistically significant, suggesting an inverted-U relationship as h…
Dealing with Highly Collinear Independent VariablesDear Stata Members I have a panel data where my independent variables are highly COLLINEAR(Index1 t…
Help with interpreting regression resultsI run this code in Stata 17 Code: reg sbpd ib6.group i.black_or_not ib6.group#i.black_or_not i.sex …
Subscribe to:
Post Comments (Atom)
0 Response to Solving equations in STATA
Post a Comment