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
Store variable names for specific conditionHi all, I wonder if its possible save or store a list of variable names with a specific condition, …
egen newvar = divide(existingvar), by(existingvar2)Hi! I know how to perform : Code: egen v5 = sum(var4), by(var1) var1 var4 v5 1 301 4323 1 4…
Endogenous Explanatory Variable in a Multinomial Logit EstimationHi Statalist I am wondering what are the possible options for modelling endogeneity in a multinomia…
Creating a new variable by using a string variable in STATAFor example, X is a variable X 123 234 35 67 82 Now the values are saved as strings. If I want to cr…
Logit model: how to interpret negative AMEs?Dear Statalist, I am using Stata 15.1 with Windows 10. I have a logit model on cross-border deals i…
Subscribe to:
Post Comments (Atom)
0 Response to Linear-Log Cubic regression
Post a Comment