Science topic

Stata Software - Science topic

Explore the latest questions and answers in Stata Software, and find Stata Software experts.
Questions related to Stata Software
  • asked a question related to Stata Software
Question
4 answers
What are the processes to extract ASI microdata with STATA and SPSS?
I have microdata in STATA and SPSS formats. I want to know about the process. Is there any tutorial on youtube for ASI microdata?
Relevant answer
Answer
Good morning Sir Florian Schütze
Thank you very much for your reply/comment.
I have visited there. I found video for PLFS and NSS but did not get for ASI.
From MoSPI microdata catalog, I have downloaded data but unable to get specific variables' quantity. Variables Like, no. of firms and operated firms, I have get. But I am unable to get fixed capital, input, output and other variables. I merged two blocks and applied formula but perhaps there is some mistake. So I am not getting values.
  • asked a question related to Stata Software
Question
4 answers
Relevant answer
Answer
->!
  • asked a question related to Stata Software
Question
4 answers
Hey all,
I need help testing for multivariate outliers using STATA for my master thesis. The literature recommends the Minimum Covariance Determinant (MCD) (Verardi & Dehon, 2010). I found the relevant STATA commands which can be installed with ssc install robmv.
However, I am unsure how to use the robmv command as there is limited beginner-friendly information available. Could someone guide me on detecting multivariate outliers using the MCD method in STATA?
Thank you in advance for your help!
Relevant answer
Answer
Hello
Onipe Adabenege Yahaya
,
Thank you for the suggestion. I will definitely reach out to Ben Jann and the Statalist community for further assistance. I appreciate the advice on checking the FAQ for tips on how to craft my question.
  • asked a question related to Stata Software
Question
5 answers
So my student have a question that i cannot answer as well. She analyzing the effect of ICT toward labor productivity using 8 years data panel using 4 independent variables with EVIEWS 13. Frankly i quite surprised that the R-squared value on her results is 0.94 with only 2 significance variables. Theoretically, in simple regression model with higher value of R-squared most likely indicates bad and have statistics problems. Recently, i asked her to calculate the data using STATA and the results shows that only have 0,51 R-Square with exact similar coefficient.
I've search some articles about it and says that eviews might be wrong, and some says that STATA is wrong. Can someone explain what should i do and which software have to use?
note:
1. Some articles says to using areg command in stata to find similar value as eviews, but i quite doubt because areg is using for categorical regression in stata and its not quite fit in panel regression model.
2. Some says that eviews is wrong calculation.
Relevant answer
Answer
Because the software are different.
  • asked a question related to Stata Software
Question
4 answers
I am creating a forest plot for a meta-analysis and require assistance in adding a superscript after the Author/Year on the left side of the graph. Any help would be greatly appreciated.
Relevant answer
Answer
You can simply start the graph editor and change the textbox properties by double-clicking on the corresponding study. As an alternative, you can also add superscript by changing the label of the corresponding study identifier using "replace" and update the meta settings ("meta update"). The study identifier of the Forest plot ("meta forestplot") should then also adopt the changed label.
  • asked a question related to Stata Software
Question
6 answers
(STATA)
Hello everybody.
I would like to build a Forest Plot graph that includes all this information from the table. I am unable to build the commands to include this information in the chart. I've tried to make other posts here, but I haven't been successful. Can someone help me?
I send the result of table for the chat.
I would like to set up the graph like this example:
Relevant answer
Answer
The graph you uploaded, and the code to produce it can be found on this page:
sysuse auto, clear
quietly regress price mpg trunk length turn if foreign==0
estimates store D
quietly regress price mpg trunk length turn if foreign==1
estimates store F
quietly regress weight mpg trunk length turn if foreign==0
estimates store D_weight
quietly regress weight mpg trunk length turn if foreign==1
estimates store F_weight
coefplot (D, label(Domestic)) (F, label(Foreign)), bylabel(Price) ///
|| (D_weight) (F_weight), bylabel(Weight) ///
||, drop(_cons) xline(0) byopts(xrescale) // scheme(s2color)
To get the same graphics scheme shown on the web page, remove the // before scheme(s2color). If you use the default graphics scheme for Stata 18 (the current version), the graph will look like the one I attached.
  • asked a question related to Stata Software
Question
4 answers
Hello Everyone,
I am working with a "labelled" DCE which has 20 choice sets, 4 alternatives with 6 attributes. Each respondent answers 4 choice sets.
I have my data in long form (Respondent_ID, alternatives, attributes.....) such that Respondent_ID 1 has 16lines for 4 choice sets with 4 alternatives. When i cmset this data
cmset Respondent_ID alternatives : I get an error "at least one choice set has more than one instance of the same alternative r(459);" which i guess is understandable as 1 Respondent ID has multiple alternatives but in my case 1 RespondentID has answered 4 choice sets.
How should i format the data to work in this case? I have seen multiple videos in youtube and stata manual but they all had only 1choice set per respondent.
1 additional question:
I have 4 "labelled" alternatives A,B,C,D (with A being the base option)
based on the choice scenario i ask to pick the best choice among the four, but also gave a 5th option of "I will pick A but i will consider C or D if the cost is lower" (cost is one of the attributes).
How can I add this 5th option in my analysis?
Thanks a lot.
Relevant answer
Answer
I addressed this by setting my data as Panel Mixed Logit Data
  • asked a question related to Stata Software
Question
2 answers
When I try to do the metatrim on STATA I get the following error:
db metatrim
. metatrim _ES _seES, reffect eform
Note: default data input format (theta, se_theta) assumed.
subcommand meta __000005 is unrecognized
r(199);
Does anyone know how to solve it? I couldn't find anything on the internet.
Relevant answer
Answer
Hello Giuseppe Dario Testa. What version of Stata do you have? I ask, because if it is recent enough (v16 or later, IIRC), it will have a suite of new (official) meta-analysis commands, including this one:
PS- I recommend posting questions about how to do X using Stata to Statalist. If you do decide to post there in future, see the very helpful FAQ first.
  • asked a question related to Stata Software
Question
8 answers
I want to run python codes on the current variables of Stata using PyStata. For example:
  • set obs 5
  • gen a = _n
  • python
  • a
  • end
But python does not recognize "a". Instead I should run:
  • python
  • a = [1, 2, 3, 4, 5]
  • a
  • end
How can I use the existed "a" instead of new coding?
  • asked a question related to Stata Software
Question
5 answers
What is the best software for meta-analysis?
I usually use RevMan for meta-analysis. What is the limitation of RevMan compared to other software (STATA or CMA)?
Relevant answer
Answer
One of the widely used and highly regarded software for conducting meta-analysis is Comprehensive Meta-Analysis (CMA). CMA provides a user-friendly interface, extensive statistical tools, and a comprehensive set of features for conducting meta-analyses across various research domains. Other popular options include RevMan (Review Manager) and Metafor in R, depending on user preferences and familiarity with specific programming languages. Ultimately, the "best" software may depend on the specific needs of the user, the nature of the meta-analysis, and individual preferences regarding interface and functionality.
  • asked a question related to Stata Software
Question
4 answers
I have been looking at transmission of world market prices to domestic African markets, in the face of rapid policy changes. My challenge is to model threshold VECM in stata. Does anyone have a suggestion?
Relevant answer
Answer
Chuck A Arize May you kindly share the name of the package/ command ? Thank you so much
  • asked a question related to Stata Software
Question
4 answers
My objective is to generate a composite index of risk perceptions.
I want to assess whether there are differences in risk perceptions of 2 subpopulations. Using Likert-scale responses (scale of 1-5 where 1=extremely serious and 5=not serious) to several Likert-type questions, I will build an index of risk perceptions for each subpopulation. I have 10 Likert-type questions and for each question (or risk perception category), I understand that I have to calculate the weighted mean of responses for each respondent, X:
X = {5 x F(5) + 4 x F(4) + … 1 x F(1)} / N where F is the frequency of responses and N the total number of respondents/ observations. See:
5 = extremely serious, ... 1= not serious
I have a total of 14 questions (or risk perception categories). To get the index (or mean score) for each subpopulation, I read that I just need to get the ratio of each weighed mean X and the total number of questions (i.e. 14). Is this correct?
If so, how do I do that in Stata? This index will then be used in an ordered logit regression as one of the dependent variables.
Thank you in advance.
Relevant answer
Answer
You may use this example: label define likertnew 0 “Strongly Agree” 1 “Agree” 2 “Disagree” 3 “Strongly Disagree”
  • asked a question related to Stata Software
Question
24 answers
I just received the latest TOC alert for Behavior Research Methods, and this article caught my eye:
I've not had time to read it yet, but judging from a quick glance, I wonder if the main "problem" might be that users do not always take time to RTFM* and therefore, do not understand what their software is doing? In any case, I thought some members of this forum might be interested.
Cheers,
Bruce
* RTFM = Read The Fine Manual ;-)
Relevant answer
Answer
Uzair Essa Kori, I repeat my earlier question, which you have not yet addressed: Why in the world did you not say clearly at the top of your post that it was generated using AI? Do you not think that would be the honest and ethical thing to do?
  • asked a question related to Stata Software
Question
1 answer
What is the command at Stata17 for Bartlett sphericity test?
I'm doing PCA and Factorial Analysis.
Relevant answer
Answer
You need to download the community-contributed command "factortest".
You do this by issuing the command
. ssc install factortest
Then read the help file.
  • asked a question related to Stata Software
Question
2 answers
(Epidemiological analysis)
Colleagues, does anyone know which commands to run a mediation analysis (with direct and indirect effects) in Stata?
My exposure is a categorical variable, the outcome is a dichotomous variable.
The mediating variable is numerical.
Relevant answer
Answer
  • asked a question related to Stata Software
Question
6 answers
Dear respected scholars,
I am trying to estimate average treatment effects on the treated (ATT) using IPWRA, PSM, and ESR models. However, I struggle to estimate ATT using the ESR model in STATA/Stata software.
The outcome variable is production cost and net returns.
The treatment variable is 1=if the respondents have adopted the technology and 0=otherwise.
The control variable is Age, Education, Experience, Farm size, Land ownership, and Land typology.
I would be grateful if anyone could guide me with the procedure.
Thank you very much.
Sincerely,
Faruque.
Relevant answer
Answer
How many technologies are there?
  • asked a question related to Stata Software
Question
5 answers
I am looking for a graphical tool like visual basic software to define R codes for interactive graphical buttons and text boxes.
For example, I want to design a windows application with graphical design for calculation of body mass index (BMI). I want to have two boxes for weight and height imputation and a button for run. When clicking the button, I want to the below code be run.
BMI < - box1/(box2^2)
Relevant answer
Answer
R in Power BI ?
It should not contain complex R syntaxes though.
  • asked a question related to Stata Software
Question
8 answers
I've been searching for PSTR model STATA codes. Please assist if you have any idea or information about it.
I will appreciate any assistance in this regard.
Thanks in anticipation
Shaurav
Relevant answer
Answer
@Dr.Arize. Thanks for sharing the paper. But, I couldn't find any codes on it. Thanks
  • asked a question related to Stata Software
Question
13 answers
there are many statistics software that researchers usually use in their works. In your opinion, which one is better? which one do you offer to start?
Your opinions and experience can help others in particular younger researchers in selection.
Sincerely
Relevant answer
Answer
SPSS, as my results necessitate analysis using SPSS
  • asked a question related to Stata Software
Question
3 answers
I am trying to run a spatio-temporal autoregressive model (STAR). Therefore I need to create a spatial weight matrix W with N × T rows and N × T columns to weight country interdependencies based on yearly trade data. Could someone please tell me how I to create such a matrix in R or Stata?
Relevant answer
Answer
Dear Jan,
OK ! I see ! you need to create the spatial weight matrix indeed !
There are many possibilities in R:
I strongly advise to work with sf because it so easier now !
but spdp may still be clearly adaptated to you context :
This is one of the definitive books on the subject in R:
there are other references but they are more geospatial (point process) oriented.
Here you should use one of those packages and that nb2mat from package spdp might do the trick !
All the best.
Franck.
  • asked a question related to Stata Software
Question
6 answers
Hi, I am currently writing my master thesis on early indicators of bank failure. For this I have calculated probability of default as my dependent variable and have around 15 different financial ratios as explanatory variables, I have also included two measures of interest sensitivity as possible independent variables.
My data consists of 125 companies over 20 years. I'm using STATA and need help with how I should format my data from excel. I'm also unsure of which kind of regression is best suited for my data. I've tried reading Econometric Analysis of Cross Section and Panel Data by Woolridge but I'm feeling a bit lost.
Attached is the Excel file.
Thank You for the help!
Relevant answer
Answer
Panel data regression, also known as fixed-effects regression, is a statistical method used to analyze data that vary over both time and cross-sectional units. This method is appropriate for data where we have repeated observations of the same individuals, firms, or countries over time.
In fixed-effects regression, we control for time-invariant differences across cross-sectional units by including individual-specific effects as fixed effects in the regression model. This helps to remove any confounding factors that might affect the dependent variable but do not vary over time.
To format panel data for STATA, you need to use the "reshape" command to convert the data from a wide format to a long format. The long format has one row per observation and includes variables for the individual or entity ID, the time period, and the dependent and independent variables.
  • asked a question related to Stata Software
Question
2 answers
As an Indonesian researcher in public health with a medical background and a Taiwan doctorate-level education, I am confident that I can contribute valuable insights and expertise to any ongoing research projects. My diverse background has equipped me with a unique set of skills and knowledge that I believe would make me an excellent collaborator for your research paper.
Having been trained in a highly respected academic institution in Taiwan, I have developed a rigorous approach to research that emphasizes attention to detail, critical thinking, and creative problem-solving. I have experience using various statistical software programs such as SPSS and STATA.
Furthermore, my medical background has given me a deep understanding of health-related issues and their impact on communities. I have a particular interest in public health, and I am passionate about finding evidence-based solutions to the most pressing health challenges facing our society today.
As a co-author, I am willing to take on any necessary tasks to contribute to the project's success. I am especially comfortable with data analysis and can use my expertise to generate meaningful insights from complex data sets. Additionally, I am adept at academic writing, and I can help ensure that the paper adheres to the highest standards of clarity and coherence.
Overall, I believe that my skills, knowledge, and passion make me an excellent candidate for collaboration on any public health research project. I am excited about the opportunity to work with other researchers to generate impactful findings that can improve health outcomes and contribute to the scientific community's collective knowledge.
Don't let your research project fall short of its full potential. Reach out to me today at yosephsamodra[at]gmail.com to explore how we can collaborate to generate impactful findings in public health research. Let's work together to make a difference in the world of healthcare.
Regards,
Yoseph
Relevant answer
Answer
send your article to : editor@ijmhc.com
  • asked a question related to Stata Software
Question
5 answers
Some have the link to donwload free of the Stata Statistics software?
Relevant answer
Answer
Just to be clear : as Ma'Mon Abu Hammad states plainly, Stata is commercial software, made with care and professionalism by people who do this for a living. Downloading bootleg copies is stealing.
Just saying.
  • asked a question related to Stata Software
Question
3 answers
Can clustering standard errors be used for cross-sectional data? If possible, what is the corresponding command in stata.
Relevant answer
Answer
Chuck better than what? David Booth
  • asked a question related to Stata Software
Question
5 answers
Hi there!
I'm following the method by Branko Miladinovic et al. "Trial sequential boundaries for cumulative
meta-analyses".
I'm using the following code: metacumbounds ln_hr se_ln_hr N, data(loghr) effect(r) id(study) surv(0.40) loss(0.00) alpha(0.05) beta(0.20) is(APIS) graph spending(1) rrr(.15) kprsrce(StataRsource.R) rdir(C:\Program Files\R\R-4.2.1\bin\x64\) shwRRR pos(10) xtitle(Information size)
but the following error is popping up:
File bounds.dta not found.
Any guess what's causing the error and how to fix it?
Thanks in advance
Relevant answer
Any new suggestion?
  • asked a question related to Stata Software
Question
3 answers
Hi, everyone. i am calculating NRI and IDI using STATA. I want to compare the discrimination ability of two seperate models (Model A and Model B). I think the nri program of stata seems only to calculate NRI that reflects the discrimination between a base model and the  model in which a new marker  is added to the base model. Now, how should i calculate a NRI that reflects the discrimination of two models which includes different variates.
Thanks in advance!
Relevant answer
Answer
Would you please tell us, how did you calculate nri and idi in stata?
  • asked a question related to Stata Software
Question
7 answers
I am doing a choice experiment using a random parameter logit model using the mixlogit command "mixlogit choice price no, rand(a b) group(group) id(id)", how do I calculate the marginal effects?
I tried the following command and the result seems to be incorrect, the RPL coefficient is positive, but the marginal effect calculated with this command is negative.Any help will be much appreciated.
preserve
set seed 12345
gen rnd = runiform()
bysort id groupid (rnd): gen alt=_n
replace a = 0 if alt==1
mixlpred p0, nrep(500)
replace a=1 if alt==1
mixlpred p1, nrep(500)
gen p_diff = p1-p0
sum p_diff if alt==1
restore
  • asked a question related to Stata Software
Question
9 answers
I am using -corr2data- to simulated raw data from a correlation matrix. However, some variables that I need should be binary. How can I convert?
Is it possible to convert higher amounts to 1 (and the other ones to 0) as the form to reach the same mean? How should I do it?
Is a way in R?
(I want to perform a GSEM on a correlation matrix)
(I know -faux- package in R. But my problem is that just some of [not all of] my variables are binary.)
Relevant answer
Answer
Maybe the attached is what you mean. David Booth
  • asked a question related to Stata Software
Question
9 answers
I'm using STATA 17 with plugin & command pbis bvar cvar.
I'm wondering is there another command or macro that would run the calculation for multiple bvar simultaneously into a table or list? My research dataset is small (14 items & 30 candidates) so it's certainly faesible to do the calculation for each individually (and to correct test score to do corrected as well) but I'm wondering what I would do in the future with a larger dataset and this wasn't a practical option...
Relevant answer
Answer
Jane C. Hollandmea culpa! I should have read my own code. Bruce Weaver was correct : foreach var of varlist is what I should have written. Somehow I glitched and wrote foreach var of var of varlist…
  • asked a question related to Stata Software
Question
6 answers
Dear colleagues,
i am looking for the package or command, which performs times series decomposition in STATA. So far I did not find anything. Example can be found here: https://towardsdatascience.com/an-end-to-end-project-on-time-series-analysis-and-forecasting-with-python-4835e6bf050b at figure 5.
Look forward to valuable comments)
Relevant answer
Answer
sir, i am doing research on labour market discrimination. help me to perform decomposition in unite level cross-section data.
  • asked a question related to Stata Software
Question
5 answers
Dear all,
I have a panel dataset consisting of string names of countries. I want to generate specific ID for each country.
E.g.
Country ----------ID
A----------------------1
A----------------------1
B----------------------2
B----------------------2
Relevant answer
Answer
encode (Var), gen (countryID)
  • asked a question related to Stata Software
Question
6 answers
Dear community,
What is the code to perform a Fama-MacBeth regression in Stata? I understand how this works theoretically, but I do not understand how this is implemented in Stata. My variables are the 5 factors of the Fama French 5 factor model and 25 portfolios double sorted on size and book-to-market value of equity.
Additionally I have another question as well. That is, in order to test the Fama French 5 factor model, you just regress the factors on one of the portfolios right? In other words, is the correct code to test the 5 factor model:
- tsset date (in order to declare dataset to be time-series data with date as the time variable)
- reg me1bm1 markt smb hml rmw cma (where me1bm1 is the portfolio with lowest marketcap and lowest B/M and the other 5 variables are the 5 factors).
When I use this code I get very strange results, namely that almost all intercepts are significant (which is in contradiction with the Fama French papers). Hence, I am wondering whether there is something wrong with this code. I hope you all could help me with these 2 questions!
Yours truly,
Niek
Relevant answer
  • asked a question related to Stata Software
Question
3 answers
Model 1
. regress ir_1yr eq_rt fi_rt pe_rt re_rt eq_al fi_al pe_al re_al ir_1yr_df
Source | SS df MS Number of obs = 1,857
-------------+---------------------------------- F(9, 1847) = 9215.93
Model | 20.3975564 9 2.26639516 Prob > F = 0.0000
Residual | .454216753 1,847 .000245921 R-squared = 0.9782
-------------+---------------------------------- Adj R-squared = 0.9781
Total | 20.8517732 1,856 .011234792 Root MSE = .01568
------------------------------------------------------------------------------
ir_1yr | Coefficient Std. err. t P>|t| [95% conf. interval]
-------------+----------------------------------------------------------------
eq_rt | .5248209 .0029915 175.44 0.000 .5189538 .5306879
fi_rt | .2278904 .0075746 30.09 0.000 .2130347 .2427461
pe_rt | .0831074 .0033364 24.91 0.000 .0765638 .089651
re_rt | .0703441 .0034776 20.23 0.000 .0635237 .0771644
eq_al | .0708922 .0047206 15.02 0.000 .061634 .0801504
fi_al | .0354871 .0064044 5.54 0.000 .0229266 .0480477
pe_al | .1004973 .0092323 10.89 0.000 .0823904 .1186043
re_al | .0333808 .0116003 2.88 0.004 .0106297 .056132
ir_1yr_df | .9498746 .0149831 63.40 0.000 .9204891 .9792601
_cons | -.050006 .0041722 -11.99 0.000 -.0581887 -.0418233
------------------------------------------------------------------------------
Model 2 - New variable is pe_al*pe_al (want to assess if pe_al turns at -b/2a)
. regress ir_1yr eq_rt fi_rt pe_rt re_rt eq_al fi_al pe_al c.pe_al#c.pe_al re_al ir_1yr_df
Source | SS df MS Number of obs = 1,857
-------------+---------------------------------- F(10, 1846) = 8365.23
Model | 20.4015612 10 2.04015612 Prob > F = 0.0000
Residual | .450211929 1,846 .000243885 R-squared = 0.9784
-------------+---------------------------------- Adj R-squared = 0.9783
Total | 20.8517732 1,856 .011234792 Root MSE = .01562
---------------------------------------------------------------------------------
ir_1yr | Coefficient Std. err. t P>|t| [95% conf. interval]
----------------+----------------------------------------------------------------
eq_rt | .5241271 .002984 175.65 0.000 .5182747 .5299794
fi_rt | .2265008 .007551 30.00 0.000 .2116914 .2413101
pe_rt | .0838555 .0033277 25.20 0.000 .077329 .090382
re_rt | .0696112 .0034678 20.07 0.000 .0628098 .0764125
eq_al | .0690265 .0047235 14.61 0.000 .0597626 .0782904
fi_al | .0311132 .0064685 4.81 0.000 .0184268 .0437995
pe_al | .0195947 .02198 0.89 0.373 -.0235136 .062703
|
c.pe_al#c.pe_al | .3383581 .0834983 4.05 0.000 .1745971 .5021191
|
re_al | .0293011 .011596 2.53 0.012 .0065584 .0520437
ir_1yr_df | .9509827 .0149234 63.72 0.000 .9217142 .9802512
_cons | -.0440566 .0044066 -10.00 0.000 -.0526991 -.035414
---------------------------------------------------------------------------------
Relevant answer
Answer
من الممكن استخدام معادلة الارتباط اذا اردنا معرفة العلاقة الارتباطية بين النموذجين من جهة ومن جهة اخرى اذا اردنا معرفة الفروق بين النموذجين نستخدم معادلة ف-فثشسف
  • asked a question related to Stata Software
Question
10 answers
I am using two-step system GMM to find impact of two independent business related variables on governance of an economy.
Dataset size: 8 Year data for 71 countries
I am not using any control variable in the main models but reporting 20 different results for different types of countries using the independent variables and their one year lags. For example, for the full dataset, I checked impact of x1, x2, and L1.x1, L1. x2. Then ran similar regression only for the developed countries and so on.
If I find fairly consistent results, and shed discussion on impact of different control variables only in additional analysis, would it suffice?
(Prior literature used 2-4 control variables but they used only OLS. Many of those papers were published in ABDC A/B ranked journals).
Thanks for your cooperation.
Relevant answer
Answer
As far system Gmm is concerned, Hansen J is superior to sargan test and it will even give a better result if robust option specified.
  • asked a question related to Stata Software
Question
1 answer
I am trying to analyze multilevel binary logistic regression using STATA software applying the svy command. Is it necessary to estimate Information criteria, if yes, which command in Stata can I use under complex sample data?
Relevant answer
Answer
Hello Moses Festo Towongo. IMO, one is usually much better off posting questions about how to do X with some stats package to a discussion forum for users of that stats package. In this case, I recommend that you post your question to Statalist (first link below). Before posting, please take a look at the excellent advice on how to post to Statalist in the FAQ (second link).
HTH.
  • asked a question related to Stata Software
Question
7 answers
Dear colleagues,
I am testing whether a variable mediates or moderates a relationship across two groups in a SEM. All variables are continuous and latent.
Is there a way I can model latent interactions in SEM and still being able to get a LR and overall goodness of fit indicators so that I can compare the moderation model with the mediation one?
Anyone ever attempted with the med4way package?
Thanks in advance
Relevant answer
Answer
There are three main approaches for doing latent interactions.
  1. Product indicator approaches
  2. Distributional analytic approaches
  3. Instrumental variable approaches
Approaches 1 and 3 can be readily implemented using Stata's SEM. Approach 2 is not supported by Stata. Mplus supports LMS as Mehmet says, which falls into this category. But note that distributional analytic approaches are sensitive to normality assumption of the latent variable. This assumption is untestable and therefore I personally always prefer to go for product indicators.
I cover all these approaches on my doctoral level course. You can find explanations here: https://www.youtube.com/watch?v=Ibv10E_WRYM&list=PL6tc6IBlZmOU_R1Ezb1WShAmLAuCVwF4S
(Note that at the time of writing I have not uploaded the interaction videos but will do that in the near future.)
  • asked a question related to Stata Software
Question
5 answers
Dear All
I would like to run time series data of ARDL model using STATA software. So would you please assist provide STATA commands and with steps to run ARDL model of time series data?
With best regards
Addisu
Relevant answer
You are so much welcome Dr. Addisu Tesfaw Zinabu.
  • asked a question related to Stata Software
Question
2 answers
I have a Labor force survey from 2007-2016 (10 years). The survey is not a panel data (selected from different strata and have different N across the years). N = 12,581 |12,823 |9,561 | 6,167| 9269 | 8865 | 12319 | 12544 | 12731 | 9137
I am interested in the factors (X) that influence the education-job mismatch (Y) by running Profit model. And then the Mincer equation. My questions are:
1. Should I use pooled data analysis? If so, how to merge the 10 years data together?
2. Should I analyse the 10 years survey separately before, to see, if my (assumed) model is rather stable over time?
3. There is a possibility that one same person completed the surveys but I don't know how to match people directly or narrow down the data as a panel data considering large number of sample and years?
Thank you.
Relevant answer
Answer
Hello Amy,
If the Labor Survey is conducted with a "fresh" sample each year, rather than as a longitudinal study, then each year's data set may (and should) be treated as independent. If longitudinal, most long-term surveys with which I've worked do assign unique iD tags to each case and carry these forward, so that one may match responses across time.
Given the sample sizes, there's no apparent loss to treating each year's results as a stand-alone batch for purposes of investigating your model. If there are temporal events that could account for differences in variable values (e.g., pre-pandemic, post-pandemic; pre-recession of 2008, post-recession of 2008), this would argue against merging data sets across years.
You may certainly test whether model parameters are constant across years (for example, as a multi-group model in path/sem).
Good luck with your work.
  • asked a question related to Stata Software
Question
5 answers
Can it become linear, then linear regression could be done.
Should I estimate using non linear estimates?
Relevant answer
Answer
One more time you don't need to linearize anything it's the regression coefficients that matter. Please read the Kutner book it's a free download from the z-library. David Booth
  • asked a question related to Stata Software
Question
5 answers
We are conducting a meta-analysis to compare a new non-invasive measure to a gold-standard measure. Data within the retrieved studies are reported in the forms of Pearson correlation coefficients and limits of agreement (Bland–Altman method). We wonder if there is a method to pool the LoAs using RevMan or STATA? and what are types of data we need to obtain such pooling estimates?  
Relevant answer
Answer
Hello, I reccomend to follow the guidelines provided by Tripton and Shuster, (2017), to perform a meta-analysis of bland-altman studies.
  • asked a question related to Stata Software
Question
7 answers
In confimatory factor analysis (CFA) in Stata, the first observed variable is constrained by default (beta coefficient =1, mean of latent variable =constant).
I don't know what is it! Because, other software packages report beta coefficients of all observed variables.
So, I have two questions.
1- Which variable should be constrained in confirmatory factor analysis in stata?
2- Is it possible to have a model without a constrained variable like other software packages?
Relevant answer
Answer
Hello Seyyed,
I guess you mean with beta the factor loading? Traditionally, these are denoted with lambda but probably, Stata treats these differently.
The fixation of the "marker variable" is needed a) to assign a metric to the latent variable--those of the marker, and to b) identify the equation system.
As far as I know it does not matter which variable you choose unless it is no valid indicator of the latent.
HTH
Holger
  • asked a question related to Stata Software
Question
5 answers
As there are several software to estimate threshold panel regressions such as Matlab, R, and Stata; I'm wondering which one is accurate and easier to use (dynamic balanced panel data).
Regard
Maryam
Relevant answer
Answer
Stata
  • asked a question related to Stata Software
Question
3 answers
Hi All,
Does anyone know how to acquire efficient score derived from Translog Cost Function like attached where,
lnTCit is the natural logarithm of total costs used by bank i in year t.
Total cost (TC) is measured as the sum of interest expense and noninterest expense.
pnit is the price of the nth input employed by bank i in year t,
ynit is the amount of the nth output produced by bank i in year t.
α, β, δ, and λ are coefficients to be estimated.
εit is stochastic or aggregate disturbance term.
What software can be used to deal with this ? and what does this "m" denotes for ?
So much thanks for the answers
Relevant answer
Answer
Yes
  • asked a question related to Stata Software
Question
1 answer
The Malmquist-Luenberger index is used to evaluate energy efficiency by considering unfavorable output. Is this index accessible by Stata software?
  • asked a question related to Stata Software
Question
3 answers
What are the new unit root tests for Structural Break? I have seen a structural break test in Eviews 10 but i don't know what is the name of it? I have to write theoretical background of it. Please share your valuable thoughts.
Thank you!
Relevant answer
  • asked a question related to Stata Software
Question
5 answers
Could anybody explain that while performing the system GMM model, I have to perform a unit root test or not? I have data from 46 firms for 12 years, but while performing the Levin-Lin-Chiu test in Stata software, it shows the following "Levin-Lin-Chiu test requires strongly balanced data".
Relevant answer
Answer
Testing for unit roots is also of high importance when we have to deal with panel data. In the panel unit root test framework, two generations of tests have been developed. The first generation contains the Levin, Lin and Chu test (2002), Im, Pesaran and Shin test (2003) and Fisher -type tests, whose main limit is the assumption of cross-sectional independence across units. A second generation of tests that rejects the cross-sectional independence hypothesis also exist. Within this second generation of tests, two main approaches can be distinguished: the covariance restrictions approach, adopted by Chang (2002, 2004), and the factor structure approach, including contributions by Phillips and Sul (2003), Moon and Perron (2004), Choi (2002) and Pesaran (2003).
Most econometric packages incl. Stata contain the first generation tests. However, some of them (eg. the Levin-Lin-Chiu test) require strongly balanced data (namely not to have missing values). So, you proceed with the rest tests without any problem.
Cheers!
Dimitris
  • asked a question related to Stata Software
Question
2 answers
After years using STATA, I am thinking of making a leap and learn Python.
Before, I learn R and found that the Rcmdr is a good package to learn R quickly. The Rcmdr point and click style that generates R script is really handy for beginners.
I wonder if a similar package or tool like Rcmdr is available for learning Python?
Relevant answer
Answer
Good Luck.
  • asked a question related to Stata Software
Question
5 answers
Hi,
To understand participants' life satisfaction, 5 questions have been asked. In each question, there are 5 options, from disagree to agree. Please suggest me how to create a single variable from these 5 categorical (ordinal) variables through MCA preferably in STATA or else in SPSS.
Relevant answer
Answer
Ronán Michael Conroy sir,
Thank you for sharing the article. Will go through it.
  • asked a question related to Stata Software
Question
1 answer
I am working on my dissertation and I am trying to reproduce the GARCH model that I have attached. With those models I am trying to investigate if any financial assets have a significant effect on ethereum prices.
I have collected data, respectively the returns on ethereum, FTSE index, Gold Cash and Future, Fed interests.
I am struggling with the code for garch(1,1) with an AR(2) process: for my variance equation, I have to include in the expression the exponential of a series of independent variables, so I would be able to find the respective coefficients. Does anybody know which code should I add to the function to include the exponential of those values (either in stata or eview)?
Relevant answer
Answer
with stata you can click on time series -----ARCH/GARCH-------Nelson Egarch model
you fill in the dependent and independent variables
if you want to add variables in the equation of the mean you have to go to model 2
If you want to add variables in the variance equation you have to go to model 3
  • asked a question related to Stata Software
Question
4 answers
Which one of these multilevel models are better? should the random equation variables be added also as covariates?
Model A: with random equation variables as covariates
Model B: without random equation variables as covariates
* Model A resulted in same results with a routine ologit. So, if model A is better than model B, what the philosophy of using multilevel mixed models (because of same result with ologit)?!
Relevant answer
Answer
You may want to deepen you understanding of multilevel random coefficient models by using the resources given here:
and
it includes instructions for Stata
Modules
  1. Using quantitative data in research (watch video introduction)
  2. Introduction to quantitative data analysis (watch video introduction)
  3. Multiple regression
  4. Multilevel structures and classifications (watch video introduction)
  5. Introduction to multilevel modelling
  6. Regression models for binary responses
  7. Multilevel models for binary responses
  8. Multilevel modelling in practice: Research questions, data preparation and analysis
  9. Single-level and multilevel models for ordinal responses
  10. Single-level and multilevel models for nominal responses
  11. Three-level multilevel models
  12. Cross-classified multilevel models
  13. Multiple membership multilevel models
  14. Missing Data
  15. Multilevel Modelling of Repeated Measures Data
  • asked a question related to Stata Software
Question
5 answers
Hi all. We are planning to conduct a study comparing new diagnostics tools that will be used at the doctor's office and compare this with the gold standard that is commonly used in the lab. The main objective of this study is to look at the sensitivity and specificity of this new tool and our aim is to have at least a sample size that has at least 90% power to detect 95% sensitivity or worse as compared to the gold standard. However, when we ask the lab, the machines/equipment in the lab that will be used as the gold standard reference for this study, don't have data on sensitivity/specificity since this machine/equipment runs quantitative assay and does not require sensitivity/specificity validation. On the contrary, the new machines that we want to test is using the semi-quantitative assay. I will be using Stata to calculate the sample size and if anyone can help/guide me, it will be really helpful. Thanks.
Relevant answer
Answer
Kindly see also the following useful RG link:
  • asked a question related to Stata Software
Question
2 answers
Hi
I'm currently writing my masters thesis and i'm analyzing data from a school-based intervention study. The statistical analysis is conducted with STATA 17.
We want to examine whether the implementation quality of a school-based intervention has an effect on the effectiveness of the intervention.
As i just started to work with mixed models i'm not sure whether my model is correct.
My statistical approach is adopted from a study by Humphrey et al. (2018):
I further rely on the book by Twisk (2019). You can access the relevant part here: https://1drv.ms/u/s!AggQKHp7NGMFg6NMkBiK-rjcZ-EodQ?e=23xJmS
Stress measurement
z_k_sskj_vul1: vulnerability to stress at time 1 (continuous, z-transformed)
z_k_sskj_vul2: vulnerability to stress at time 2 (continuous, z-transformed)
Implementation Quality
resp_high: high responsiveness of children (1 if high, otherwise 0)
resp_med: medium responsiveness of children (1 if medium, otherwise 0)
resp_low: low responsiveness of children (1 if low, otherwise 0)
qual_high: high responsiveness of children (1 if high, otherwise 0)
qual_med: medium responsiveness of children (1 if medium, otherwise 0)
qual_low: low responsiveness of children (1 if low, otherwise 0)
I choose a two-level approach with students on level 1 and classrooms on level 2.
First i checked the ICC in order to assess the between-group variable. Here i'm not sure whether to include z_k_sskj_vul1 in the model.
## unconditional mdel z_k_sskj_vul2 (check for between-classroom variance)
mixed z_k_sskj_vul2 || classroom:
estat icc
Second i built this model in order to assess whether the effect differs for high or medium implementation quality in comparison with low implementation quality. I included z_k_sskj_vul1 to control for baseline measurements.
## mixed model to examine implementation quality
mixed z_k_sskj_vul2 resp_high resp_med qual_high qual_med z_k_sskj_vul1 || classroom:
I would be really grateful if someone could just check if my model is correct.
Thank you
David
Relevant answer
Answer
Before we talk about your model what did you choose to setup like that as opposed to:
Responsiveness of Child with 3 levels (High (3), Mid (2), Low (0))
This way you can look at the effect of Responsiveness and then break it down by individual level and compare.
  • asked a question related to Stata Software
Question
14 answers
I have an ordinal dependent variable with six ranks (these are grades from a test) and several interval independent variables (one independent variable, sex, is nominal). I would like to determine the relative importance of each independent variable. Which method(s) would be appropriate? I have access to SPSS, STATA and R (possibly also MATLAB) and I would be grateful to know if any appropriate methods are implemented in these packages.
Relevant answer
Answer
Dear Ngoni Chipere,
I would rather recommend you the employment of a rank-orderen logstic regression.
For technical implementation in STATA you can use the following Stata-Manual
With best wishes,
Richard
  • asked a question related to Stata Software
Question
10 answers
If you were forced to pick between the two, which software package would you prefer for analysis of medical data? Some commonly listed pros of SPSS are ease of use, robust handling of large data sets, access to a broad variety of analyses, and decent generation of figures and tables. STATA, on the other hand, is claimed to offer more user control and better handling of typical medical data (through better implementation of cluster analysis, survival analysis, imputation of missing values, etc.).
There are obviously pros and cons inherent in both, and there could well exist better alternatives (such as R). But if you had to pick between SPSS and STATA for the purpose of medical research, which would it be, and why?
Relevant answer
Answer
Hi,
Which statistical methodology do you plan to fit? For this, is it possible to fit the model in SPSS or STATA? If possible in both, you can use the software you prefer more, your preference may be the way output is displayed or the software you know more about. If impossible in both, use the one that can fit your model. For example, if you need to fit the parametric survival models, you can't fit through SPSS. So, you must go to use STATA.
  • asked a question related to Stata Software
Question
4 answers
Dear everyone, I am currently trying to estimate the impact of adopting a technology on farmers irrigation cost through endogenous switching regression model (movestay command) using STATA/Stata software.
However, the rho0 and rho1 values derived from my analysis showing negative but significant sign for both groups (adopted and non-adopted).
I therefore request you all if anyone could help me interpreting these values (please see the attach files)
Thanks you very much.
Relevant answer
Answer
Hi,
Some links:
Volume 4 Number 3  >>  st0071
The Stata Journal Volume 4 Number 3: pp. 282-289
Maximum likelihood estimation of endogenous switching regression models
This article may be of use to you
Interpreting and Visualizing Regression Models Using Stata, 2nd Edition by Michael N. Mitchell
  • asked a question related to Stata Software
Question
4 answers
I have a case-control study with 200 cases and 200 controls (d == 0 for controls and d == 1 for cases). Two tests y1 and y2 are applied to each case and control and the results are coded 1 for a positive test result and 0 for a negative test result. The estimated prevalence of the disease in the population, p = 0.15.
I want to calculate the PPV and NPV of these tests, the 95% CI of the predictive values, and compare the PPV and NPV of tests y1 and y2.
Can someone please help me with some Stata code for the same?
I am attaching the data file for the exercise. This is hypothetical data generated for an academic exercise only.
Relevant answer
Answer
Use a program spss to access the appropriate analysis
  • asked a question related to Stata Software
Question
7 answers
Hello Stata users. Please help.
When running Cronbach's Alpha test for internal consistency...
I have some missing values in the data set coded as 999.
Are they included in calculations or dismissed by Stata software as default?
Using other words do I have to mark some option in Stata before running Cronbach's alpha calculations so the software would dismiss missing values?
Could anybody clarify? Many thanks in advance.
Relevant answer
Answer
use the SPSS program to analyze your data
  • asked a question related to Stata Software
Question
3 answers
I have average level household- income data of 26 statistical divisions of Turkey (NUTS 2). I need to break down and estimate this data to city (81 sub division NUTS 3) or town level (LAU) level to assess economic conditions of each local area. I have demographic data at the city and town levels. I did some research in the small area estimation field, but I couldn't find the exact method which proposes solution for my research question given above. Can you please recommend any book, article, or method on this case? Thank you very much.
  • asked a question related to Stata Software
Question
13 answers
I'm doing my research on modelling of barriers (limitations) and determinants (social constraints) of maize farmers' adoption of adaptation options to curb the negative impacts of CVC (climate variability and change) using the MNL model.
For the results of the MNL regression model, I'm using the assumptions of IIA (the Hausman test), the VIF, and the contingency coefficient that need deep result interpretation.
But in the STATA software, both the terms contingency coefficient and correlation coefficient appear, of course with different values.
What is the conceptual difference between the contingency coefficient and correlation coefficient? What best example do we have to differentiate them for better understanding?
THANK YOU SO MUCH!!!
Relevant answer
Answer
Alem Redda that’s why they are called independent
  • asked a question related to Stata Software
Question
5 answers
Hello,
I have two data sets -
1) 10 years of data on what percentage of the total patients in a hospital emergency room are diabetic
2) 10 years of data on what percentage of the total patients admitted in the same hospital are diabetic.
While I can easily compare the above data in the form of two linear trend lines (X-axis - years, Y-axis - Percentage of total patients being diabetic ), I wanted to ask how to statistically compare the two trend lines?
Thank you
Relevant answer
Answer
If your interest is in linear trend, then plot x-axis as year and Y-axis as % of patients then calculate the trend and identify slope values.
Rearrange the data monthly and you may repeat the same monthly-wise.
Then you will have 10 slopes values for both sets ..then attempt t-test based on slope. if you have subject details maybe you can calculate subject-wise slope as well.
best!!
  • asked a question related to Stata Software
Question
2 answers
Happy New Year! I need help.
I have missing values in the emission (panel) data and they have been replaced by rnormal(sample mean, sample sd). Unfortunately, sd is large that these missing values are replaced with negative values. Since the emission can't be negative, I want to re-replace these negative values with rnromal(sample mean, sample sd) until they are replaced with positive values. Unfortunately, the loop stops after replacing negative values a single time.
Just to let yall know that although it may sound as if I am trying to fabricate data, it is not the case here. I am simply trying to see how drastically different the tsplot would be with "complete" data when compared to the original data.
The following is my code:
tsset id date, daily
tsfill, full
foreach var in emitCOD emitDUST {
egen `var'mean = mean(`var'), by(Province)
egen `var'sd = sd(`var'), by(Province)
tsset id date
bysort id: carryforward `var'mean, replace
bysort id: carryforward `var'sd, replace
gsort id-date
bysort id: carryforward `var'mean, replace
bysort id: carryforward `var'sd, replace
forvalues i = 1/2 {
gen `var'_`i' = `var'
replace `var'_`i' = rnormal(`var'mean, `var'sd) if `var' == .
while (`var'_`i' < 0) {
replace `var'_`i' = rnormal(`var'mean, `var'sd)
if `var'_`i' >= 0 {
continue, break
}
}
}
}
Thanks.
Relevant answer
Answer
Can you use a different software? Is that an option?
  • asked a question related to Stata Software
Question
4 answers
I want to learn how to handle and analyse panel data and I am looking for references (handbooks, articles or any other material, but I prefer a good handbook). Preferably using STATA language and focus on social sciences applications. I look forward to your suggestions. Thanks beforehand.
Relevant answer
Answer
this is an excellent resource with code and videos for panel models and many others:
  • asked a question related to Stata Software
Question
10 answers
I am using "mvprobit" in STATA, however it is not clear to me how i can estimate marginal effect after this. Any help will be much appreciated. 
Relevant answer
Answer
Dear All,
I have worked on this and written codes below for estimating marginal effect after MVPROBIT. I hope this will be useful. *Example data use http://www.stata-press.com/data/r7/school.dta, clear *Step 1: Running the MV probit model mvprobit (private = years logptax loginc) (vote = years logptax loginc)
*Step 2: Post estimation command to estimate Predictions from multivariate probit models estimated by SML mvppred pred_xb, xb *Step 3" Generate coeefiencts for each binay category gen Coef_years_private = -.0089447 gen Coef_logptax_private =-.1018381 gen Coef_loginc_private =.3787381 gen Coef_years_vote = -.0160871 gen Coef_logptax_vote =-1.260877 gen Coef_loginc_vote =.9744685 *Step 4: Calculating Marginal effect using (Coefficients and linear Predictions) gen ME_years_private =normalden(pred_xb1)*Coef_years_private gen ME_logpatx_private =normalden(pred_xb1)*Coef_logptax_private gen ME_loginc_private =normalden(pred_xb1)*Coef_loginc_private gen ME_years_vote =normalden(pred_xb1)*Coef_years_vote gen ME_logpatx_vote =normalden(pred_xb1)*Coef_logptax_vote gen ME_loginc_vote =normalden(pred_xb1)*Coef_loginc_vote *Step 5 After estimating the ME for each observation we can get the mean using the summarize or mean command.
  • asked a question related to Stata Software
Question
5 answers
Hey all,
I am conducting a CFA on a well know theory, the technology acceptance model theory. In one of the latent variables, I am getting both the AVE and the CR equal to approximately .75.
I do believe this is due to having only two observed variable accounted to the latent variable. As this latent variable is still part of a theory and I cannot deleted, can I go ahead with my SEM and consider this as a limitation? Thank you.
Relevant answer
Answer
The final say is your theory. If you got the fitting model it would be fine despite having some issues in construct validity primarily if you're developing a new theory or measure (see Netemeyer et al., 2003 or other relevant sources)
  • asked a question related to Stata Software
Question
3 answers
Hello,
I am using Stata 13, i want to download data from yhaoo finance into Stata using the getsymbols command:
. scc install getsymbols
. getsymbols MSFT AAPL FB, yahoo clear
I encounter the following error:
<istmt>: 3499 m_getsymbol() not found
I don't know what it means. Can anyone tell me how can i solve this?
Thank you.
Relevant answer
Answer
It can also be helpful to use the Stata command
.set trace on
which will echo the progress of the program on your screen. You can see what it was doing immediately before it issued the error message.
  • asked a question related to Stata Software
Question
5 answers
Dear community,
As part of my master thesis I am going to test a structural equation model that I am attaching next. It is a multi-stage moderated mediation. My university offers me the chance to buy the SPSS or STATA license for students, so it would be great if you could give some insights on past experience using these software packages for the purpose of my research. Other software packages are of course also welcomed :-)
I would like to know 2 specific things:
1. Which software would you recommend me to conduct the model testing and why?
2. What would be the necessary steps in the recommended tool?
Thanks a lot!!!
Best,
Andrea
Relevant answer
Answer
Path models like this are most effectively and efficiently estimated within specialized software such as R (lavaan), which is free, or commercial SEM packages such as Mplus. SEM software allows you to estimate the model as a whole (using path analysis), examine global and local model fit statistics, and test the effects of interest for statistical significance using the most appropriate techniques such as e.g. bootstrapped confidence intervals for mediated effects.
  • asked a question related to Stata Software
Question
10 answers
My friend and I have arguments about some statistical assumptions. He thinks that if he has 4 constructs, and every construct has 3 variables, for example. To test a mediation analysis, he can take the mean average of these variables, compute it, name the average means, and start the mediation test. My argument is that he has to obtain the latent variable through load factors and make a path structural equation model. is both methodologies right? which is better?
Relevant answer
Answer
The resolution to your argument is an empirical issue. If there is relatively little variation in then loadings, then adding them will be adequate because it assigns equal weights to each variable.
FYI equal weights is the assumption with coefficient alpha, so a high alpha (say .80 and above) would suggest that simply add the variables would be adequate. Also, averaging simply divides by a constant, so it just makes the results more interpretable.
  • asked a question related to Stata Software
Question
34 answers
I have tried EVIEWS. But I came across of many Research Papers relevant to my Research who have used STATA. Many workshops to be held are asking for installed STATA Software. How can I get STATA?
Relevant answer
  • asked a question related to Stata Software
Question
4 answers
Hi, I am looking to estimate a willingness to pay for a choice model, but for the given alternatives compared to a base rather than for the product attributes variables. I have run a mixed logit model and have coefficients for the attribute variables followed by coefficients for case-specific variables with each different option.
Relevant answer
Answer
Hi Louie! You can find what you need on Kenneth Train's website, in my opinion, he is the main reference on this topic. I leave you this link to his book, I recommend especially chapter six.
All the best in your work!
  • asked a question related to Stata Software
Question
5 answers
Hello everyone.
For my master dissertation I'm researching WTP (willingness to pay) for Carbon offsets. I examine WTP as the dependent variable in a double-bounded dichotomous format. I read a lot of literature speaking of "interval regression model", which can be used in the "stata" software. I have no acces however to that software through my university and therefore need to use the double-bounded dichotomous choice format in SPSS.
The question is, how do I apply the double-bounded DC as the dependent variable for regression in the SPSS software?
Relevant answer
Answer
I am working in R with the package DCchoice, I am using the double bounded dichotomous choice method. However, I don't know how to analyse the result from the logit model.
For example, the coefficient of income is 0.002, then if income increase 1, the log(odd) will increase 0.002? or the probability of saying yes is increasing 0.002?
Also in double bounded , it 's more difficult because it's YES YES, NO No, No Yes, Yes No...
ANyone help me?
  • asked a question related to Stata Software