Hello Stata community,
I have been struggling recently with finding the correct command in Stata that helps me to answer the following question: At which value of the independent variable (X) is the dependent variable (Y) equal to a certain value?
At the moment, I am running a model where I look at the influence of a certain firm strategy (X) on firm profitability (Y)
I found that in order to find the estimated profitability at a certain point of my X (e.g. the estimated firm profitability at the point where X = 0.02), I need to use the following code:
xtreg firm_profitability firm_strategy
margins, at(firm_strategy=(0.02))
However, I am struggling to find the correct Stata commands to calculate for example at which point of the firm_strategy X the estimated firm_profitability Y will reach a value of 10%?
Thanks & all the best,
Franz
Related Posts with At which value of IV is DV equal to a certain value?
Generating a var based on a factor in entire datasetHello, My dataset contains minute by minute stock market data for 200 companies AND if there was an…
Find and Replace in Selection Stata (17) for MacIs the find and replace *in selected text* function available for State 17 in Mac? This post implies…
Reporting R-squared values in System GMM estimationHi everyone, This is a query on how to report the R-squared (or Adjusted R-squared) value in a syst…
Table with string valuesHello, I have a table for 3 numeric variables by 3 groups: tabstat var1 var2 var3, by(group) V…
replace variable values if it does not satisfy a certain conditionHello, I want all the observations of the variable "Website" to start with "www.". As shown below, m…
Subscribe to:
Post Comments (Atom)
0 Response to At which value of IV is DV equal to a certain value?
Post a Comment