Statalist - Sandbox
https://www.statalist.org/forums/
Use this forum to make test posts, practice with the formatting features of the forum software, etc.enTue, 31 Jan 2023 13:27:06 GMTvBulletin60images/misc/rss.pngStatalist - Sandbox
https://www.statalist.org/forums/
Solve dynamic non linear deterministic system
https://www.statalist.org/forums/forum/forum-help/sandbox/1699442-solve-dynamic-non-linear-deterministic-system
Mon, 30 Jan 2023 08:23:16 GMTDear forum,
After several hours of work, I am looking for the forum to help me to find a solution to my problem.
I am used to work with GAMS to...
After several hours of work, I am looking for the forum to help me to find a solution to my problem.
I am used to work with GAMS to solve non linear equations systems, I would like to know if it is possible to do this step directly with STATA. Indeed, this resolution is for me only a first step in my project since the results obtained are then integrated in a microsimulation model in a household survey and this work is conducted on STATA. I would like to find a way to do everything in STATA if it is possible.
What I need is to know if in STATA I can solve a system of deterministic dynamic nonlinear equations (without random shock). It is a model calibrated on national accounting data and therefore does not need to be estimated since we are not using time series (or panel) data. I tried with the dsgenl command without success.
Thanks in advance for your answers.
]]>SandboxDorothee Boccanfusohttps://www.statalist.org/forums/forum/forum-help/sandbox/1699442-solve-dynamic-non-linear-deterministic-systemGraphign Functions
https://www.statalist.org/forums/forum/forum-help/sandbox/1698240-graphign-functions
Mon, 23 Jan 2023 05:55:07 GMTHello, any idea on how to graph the following function:
y=35+2x^2-ln(x*3)
I tried this:
twoway function y=35+2x^2-ln(x^3), range (0 1)
error in...
y=35+2x^2-ln(x*3)

I tried this:
twoway function y=35+2x^2-ln(x^3), range (0 1)
error in expression: 35+2x^2-ln(x^3)

Thanks in advance]]>SandboxAngelo Navashttps://www.statalist.org/forums/forum/forum-help/sandbox/1698240-graphign-functionsLog likelihood ratio test for model selection by using mixed logit model
https://www.statalist.org/forums/forum/forum-help/sandbox/1698014-log-likelihood-ratio-test-for-model-selection-by-using-mixed-logit-model
Fri, 20 Jan 2023 15:09:00 GMTDear Colleagues,
I would like to use the log likelihood ratio test to select between two models: one with only choice attributes, and the other...
I would like to use the log likelihood ratio test to select between two models: one with only choice attributes, and the other includes choice attributes and interaction terms. I followed the procedure and applied the code lrtest m1 m2 for the log likelihood ratio test. However, this message is displayed: log likelihood of null models differ: -1062.44 vs. -1106.533. Please, has anybody encountered such issue before and how did S/he address it? Thanks for your support.

Best regards,
Yaw

]]>SandboxYaw Sarfohttps://www.statalist.org/forums/forum/forum-help/sandbox/1698014-log-likelihood-ratio-test-for-model-selection-by-using-mixed-logit-modelHow to get clarity in Scale of 2nd Y axis
https://www.statalist.org/forums/forum/forum-help/sandbox/1697418-how-to-get-clarity-in-scale-of-2nd-y-axis
Mon, 16 Jan 2023 14:04:02 GMTHi!
I am trying to scale two graphs in two different axis but my y-axis labels of the right hand side scale is not getting legible:
I am using...
I am trying to scale two graphs in two different axis but my y-axis labels of the right hand side scale is not getting legible:
I am using the following codes

Array
Any suggestions in this matter would be much appreciated. Thanks for sparing your valuable time.]]>SandboxMukta Mukherjeehttps://www.statalist.org/forums/forum/forum-help/sandbox/1697418-how-to-get-clarity-in-scale-of-2nd-y-axis