Hi, my equation of my regression is : Y=B0 + B1*log(x)
I would like to get a graph with this equation and the standard error.
I found lfitci for linear and qfitci for quadratic but is it possible to do it with log(X)? And i want to keep the X axis not in log
When i type Help lfitci i find this:
"Do not use twoway lfitci when specifying the axis scale options yscale(log) or xscale(log) to create log scales.
The result may look pretty, but if you think about it, it is not what you want. The prediction line is not straight because the regression estimated for the prediction was for mpg on weight, not for mpg on log(weight)."
But what can i do?
Thanks you
Related Posts with Using lfit with log(x)
margins in spatial panel data analysisHi, I have a problem using margins after the Spatial-AutoRegressive model, using xsmle. First I run…
generating an indexHi, I am trying to generate the index "z" in Stata, so that Z has the same value for all Xs and Ys. …
keep observations between the same rangeHi statalists, I have two variables, period and company. Period is the accumulative number of quart…
Reshape long (date; price_68372V; price_138056) Code: * Example generated by -dataex-. To install: ssc install dataex clear input float date doubl…
Help with analyzing survey data for presidential electionHello everyone, I am almost new to Stata and am trying to find the right model to fit my data which …
Subscribe to:
Post Comments (Atom)
0 Response to Using lfit with log(x)
Post a Comment