Hi everyone,
I have a linear model Y=bX + e.
I know that, in order to obtain the predicted value of Y, I can run the regression command and then use the command "predict".
But I need to do something different: I need to estimate Y imposing some beta coefficients that I did not estimate in previous regressions.
Basically I have a vector and I want to estimate Y as if the values in my vector were the beta coefficients. Is it possible? How can I do that?
Aurora
Related Posts with Predicting dependent variable
Interpreting impacts of ratio (bounded) explanatory variablesHello, I run regression with probit and get the table of average marginal effects. I am wondering ho…
variable labelsvariable labels 16 Aug 2019, 20:31 sex age response freq 0 0 0 26 0 0 1 12 0 0 2 7 …
How to insert variable A's value as new rows of variable BDear Stata users, I have a question about data management. Data example is as below. Suppose we hav…
switching column with cond()?Dear All, I have the following data Code: * Example generated by -dataex-. To install: ssc install…
Exponentiated coefficients after mi estimate: melogitHello, I am looking to get exponentiated coefficients after estimating a multilevel, mixed effects l…
Subscribe to:
Post Comments (Atom)
0 Response to Predicting dependent variable
Post a Comment