Dear Statalist
I am somewhat new to Stata and in the midst of my bachelor's thesis in political science. I have a dataset with 23 countries (eg observations) and only a few variables.
I have an index score-variable for 23 countries and wish to predict values for another index (measuring the same thing, the goal here is comparison), using the regression equation between my index and the other index. The other index only has values for 11 countries.
So what I wish to do is to use the relationship between the 11 country-observation's index scores that my index and the other index has in common to predict the values for the remaining 12 countries in the other index, that do not have values for the other index.
Am I making myself understandable and can someone explain to me what to do? :-)
I am using the predict command after running a regression "reg my_index other_index" and am told by Stata that is has predicted 12 values.
But when I look at the new variable with the predicted values, it has only predicted for the 11 countries which I already have values for?
I hope someone can help this stata-newbie!
Best regards from Copenhagen, Denmark
I am somewhat new to Stata and in the midst of my bachelor's thesis in political science. I have a dataset with 23 countries (eg observations) and only a few variables.
I have an index score-variable for 23 countries and wish to predict values for another index (measuring the same thing, the goal here is comparison), using the regression equation between my index and the other index. The other index only has values for 11 countries.
So what I wish to do is to use the relationship between the 11 country-observation's index scores that my index and the other index has in common to predict the values for the remaining 12 countries in the other index, that do not have values for the other index.
Am I making myself understandable and can someone explain to me what to do? :-)
I am using the predict command after running a regression "reg my_index other_index" and am told by Stata that is has predicted 12 values.
But when I look at the new variable with the predicted values, it has only predicted for the 11 countries which I already have values for?
I hope someone can help this stata-newbie!
Best regards from Copenhagen, Denmark
Comment