Hi,
I would like to fit a logistic curve to my data. (I have data for the number of internet users in the US and want to fit a logistic curve to forecast the data.)
The underlying logistic function is: X(t) = M / (1+ exp^(-alpha*(t-t0)))
Literature recommends I should minimize Chi-Squared: χ^2=(qi-(M/(1+e^(-α(ti-t0) ) )))^2/(M/((1+e^(-α(ti-t0) ) )*(1+e^α(ti-t0) ) ))
Is there a way to to this in Stata?
Any comment & advice would be very much appreciated!
Thanks,
Isabella May
I would like to fit a logistic curve to my data. (I have data for the number of internet users in the US and want to fit a logistic curve to forecast the data.)
The underlying logistic function is: X(t) = M / (1+ exp^(-alpha*(t-t0)))
Literature recommends I should minimize Chi-Squared: χ^2=(qi-(M/(1+e^(-α(ti-t0) ) )))^2/(M/((1+e^(-α(ti-t0) ) )*(1+e^α(ti-t0) ) ))
Is there a way to to this in Stata?
Any comment & advice would be very much appreciated!
Thanks,
Isabella May
Comment