Hello members!
For a term paper, I wanted to check whether a lin-log model or a cubic function is better for a prediction. We were taught Stata at university, but unfortunately this is the first time I am trying to use it practically. Anyway, one variable is GDP per capita. This can be logarithmized via "gen logGDPTotal = log(GDPTotal)". But there is apparently also for scatter the option qfit, which produces the same. So generation is redundant?
Unfortunately, when I use the following command, no useful result comes out: twoway (scatter GDPTotal FIW19) (lfit GDPTotal FIW19) (qfit GDPTotal FIW19)
I would like to generate a similiar graphic.
Related Posts with Linear-Log Cubic regression
regular expression?Dear All, How can I use regular expression to separate the following data Code: clear input float s…
Frequency distribution, what's missing? (beginner question)Beginner trying to learn Stata. I am assigned to construct a relative frequency table based on place…
Regarding GEE analysisHi, Apologies in advance if the question is too silly. I have never worked with a longitudinal dat…
Graph for parallel trendDear Stata users, Using a panel data collected during the years 2011, 2013, and 2015, I am trying t…
Pearson Residuals (fe regression)Hi - I have a simple model where I am trying to understand the impact of a firm's geographical dive…
Subscribe to:
Post Comments (Atom)
0 Response to Linear-Log Cubic regression
Post a Comment