I am trying to fit the function:
Revenuei(time) = A0/(1+exp(-A1*(time-A2))) + B*Costsi
I have 5,000 observations of Revenue and Costs for 8 time periods (time = 0,1,...7).
A0, A1, A2, and B are constants that I am trying to fit.
I am unsure of how to fit this function in Stata using the nl command.
Does anybody have suggestions?
Related Posts with How to use nonlinear least squares regression for a vector function?
Appropriate Dimension for Clustering of Standard ErrorsHi, I am trying to estimate the impact of directors' remuneration on firm performance. My unbalance…
Forvalue loop in self-design bootstrapI am a beginning learner of Mata, and I came across a feedback of "break" when running the code belo…
How to draw this kind of figure (for panel data)?Dear All, I found this question here (https://bbs.pinggu.org/thread-7427842-1-1.html, in Chinese). T…
How to model change over timeHello, I have panel data and my goal is to model the change over time of my dependent variable. Mor…
Erase blank spaces from a twoway graphDear Statalist, I would like to create a graph (twoway scatter) using the by() option for some group…
Subscribe to:
Post Comments (Atom)
0 Response to How to use nonlinear least squares regression for a vector function?
Post a Comment