Consider the following linear regression $$Y = \beta_1X_1 + \beta_2X_2 + \epsilon$$
Can I compute a confidence interval for the estimate of the quantity ? $$\frac{\beta_1}{\beta_2}$$
# Load the mtcars dataset
data(mtcars)
# Fit a linear regression model with two predictor variables (e.g., mpg and hp)
lm_model <- lm(mpg ~ 0 + hp + wt, data = mtcars)
# Summarize the model
summary(lm_model)
Coefficients:
Estimate Std. Error t value Pr(>|t|)
hp -0.03394 0.03940 -0.861 0.3959
wt 6.84045 1.89425 3.611 0.0011 **
I don't want to resort to the Delta method or bootstrap.