Research Methodology in Strategy and Management
Delving Deep: Techniques We Wished We Had Known as Emerging Scholars
Edited by
Paula O'Kane;
Paula O'Kane
University of Otago, New Zealand
Search for other works by this author on:
John R. Busenbark;
John R. Busenbark
University of Notre Dame, USA
Search for other works by this author on:
Aaron F. McKenny;
Aaron F. McKenny
Indiana University Bloomington, USA
Search for other works by this author on:
Sotirios Paroutis
Sotirios Paroutis
University of Warwick, UK
Search for other works by this author on:
Emerald Publishing Limited
Volume
15
ISBN electronic:
978-1-83797-026-1
ISBN print:
978-1-83797-027-8
Series ISSN:
1479-8387
Publication date:
2024
Citation
2024., Delving Deep: Techniques We Wished We Had Known as Emerging Scholars, Paula O'Kane, John R. Busenbark, Aaron F. McKenny, Sotirios Paroutis
Download citation file:
Open figure viewer
Code downloadable from: https://timquigley.com/rmsm-code/
clear
//set the number of observations
set obs 1000
//create a variable in dataset to capture betas, p-values, and confidence interval
gen b = .
gen p = .
gen ci_l = .
gen ci_h = .
//loop from 1 to 100
forvalues i = 1/100 {
gen y`i' = rnormal() //generate y1 through y100
gen x`i' = rnormal() //generate x1 through x100
reg y`i' x`i' //run regression predicting y_i with x_i
mat b=r(table) //save results table
replace b = b[1,1] if _n==`i' //capture the b-value of the i-th model and save to i-th row
You do not currently have access to this chapter.
Email alerts
Related Book Content
Related Articles
Recommended for you
These recommendations are informed by your reading behaviors and indicated interests.
