Hello all,
as a complete Stata beginner, I stumbled upon a huge problem in my Data analysis.
I am analyzing the effect of sustainability framing on Crowdfunding success. Now I have some independent variables, such as "gif_images_count" where I suspect a non-linear relationship. I would now like to test for an inverse-U-shaped association/relationship. In addition, I would very much like to draw the association. I am using Stata14.0 and I have tried several codes, as the following should illustrate.
geeqm dependent_variable independent_variable, distribution(binomial) link(logit)
--> geeqm success gif_images_count, distribution(binomial) link(logit)
logistic success i.gif_images_count##c.gif_images_count
predict success_prob, pr
twoway scatter success_prob gif_images_count, mcolor(black) msymbol(circle) || function gif_images_count = a*gif_images_count^2 + b*gif_images_count + c, range(0 100)
For the first code that I tried, there the package was somehow not available within my Stata version.
The second one itself "works", as no error message appears, however, spits out an enormously long table and I would very much like to have it compromised in a nice way, as well as have a scatterplot, which shows the relationship in a nice way.
The last code I tried, just says that many options are not available.
I tried to integrate as much as possible from the FAQ, and I am very sorry, if this is somewhere against the guidelines. I was not able to find anything that helps me with my problem, that I understand.
Thank you very much for your help.
Kind regards,
Antonia
as a complete Stata beginner, I stumbled upon a huge problem in my Data analysis.
I am analyzing the effect of sustainability framing on Crowdfunding success. Now I have some independent variables, such as "gif_images_count" where I suspect a non-linear relationship. I would now like to test for an inverse-U-shaped association/relationship. In addition, I would very much like to draw the association. I am using Stata14.0 and I have tried several codes, as the following should illustrate.
geeqm dependent_variable independent_variable, distribution(binomial) link(logit)
--> geeqm success gif_images_count, distribution(binomial) link(logit)
logistic success i.gif_images_count##c.gif_images_count
predict success_prob, pr
twoway scatter success_prob gif_images_count, mcolor(black) msymbol(circle) || function gif_images_count = a*gif_images_count^2 + b*gif_images_count + c, range(0 100)
For the first code that I tried, there the package was somehow not available within my Stata version.
The second one itself "works", as no error message appears, however, spits out an enormously long table and I would very much like to have it compromised in a nice way, as well as have a scatterplot, which shows the relationship in a nice way.
The last code I tried, just says that many options are not available.
I tried to integrate as much as possible from the FAQ, and I am very sorry, if this is somewhere against the guidelines. I was not able to find anything that helps me with my problem, that I understand.
Thank you very much for your help.
Kind regards,
Antonia
Comment