Hello,
i am conducting a study about the relationship between debt ratio and return on assets in Swedish real estate companies. Im trying to find either the optimal level or an interval which indicates the ratio of debt. The code i ran is to calculate the optimal level based on the data from 2013. My command for debt ratio is Kortfrist_sku and ROA for return on assets.
The code i've used is the following:
// Step 1: Filter the Data for the Year 2013
qui keep if År == 2013
// Step 2: Run a Regression Analysis
regress ROA Kortfrist_sku
// Step 3: Calculate the Optimal Value
predict ROA_hat
summarize Kortfrist_sku, detail
local max_ROA = max(ROA_hat)
qui replace Kortfrist_sku = . if ROA_hat != `max_ROA'
// Step 4: Display the Optimal Value
di "The optimal level of Kortfrist_sku for maximum ROA in 2013: " Kortfrist_sku
I am wondering if this code looks correct, I am getting a value that seems correct (0,04125). Is there any way to confirm this or to generate an interval where i can confirm the value?
Thanks in advance,
Vincent
i am conducting a study about the relationship between debt ratio and return on assets in Swedish real estate companies. Im trying to find either the optimal level or an interval which indicates the ratio of debt. The code i ran is to calculate the optimal level based on the data from 2013. My command for debt ratio is Kortfrist_sku and ROA for return on assets.
The code i've used is the following:
// Step 1: Filter the Data for the Year 2013
qui keep if År == 2013
// Step 2: Run a Regression Analysis
regress ROA Kortfrist_sku
// Step 3: Calculate the Optimal Value
predict ROA_hat
summarize Kortfrist_sku, detail
local max_ROA = max(ROA_hat)
qui replace Kortfrist_sku = . if ROA_hat != `max_ROA'
// Step 4: Display the Optimal Value
di "The optimal level of Kortfrist_sku for maximum ROA in 2013: " Kortfrist_sku
I am wondering if this code looks correct, I am getting a value that seems correct (0,04125). Is there any way to confirm this or to generate an interval where i can confirm the value?
Thanks in advance,
Vincent
Comment