100% de satisfacción garantizada Inmediatamente disponible después del pago Tanto en línea como en PDF No estas atado a nada 4,6 TrustPilot
logo-home
Examen

BUSI 1301 INTRODUCTION TO BUSINESS (MGMT 105) HOMEWORK 6 TEXAS A& M UNIVERSITY

Puntuación
-
Vendido
-
Páginas
9
Subido en
14-11-2024
Escrito en
2024/2025

BUSI 1301 INTRODUCTION TO BUSINESS (MGMT 105) HOMEWORK 6 TEXAS A& M UNIVERSITY

Institución
BUSI 1301
Grado
BUSI 1301

Vista previa del contenido

lOMoAR cPSD| 19857451




BUSI 1301 INTRODUCTION TO
BUSINESS (MGMT 105)
HOMEWORK 6 TEXAS A& M
UNIVERSITY

, lOMoAR cPSD| 19857451




The data set Lifecycle Savings has information about the rate of personal savings in different
countries during the 1960s. The data set comes with R. Read help (Life Cycle Savings) for
information about what the columns in the data set are.

1. Out-of-sample validation.

a. Create a linear regression model to predict the savings rate using the four other variables.

Ans. > model<-lm(sr~pop15+pop75+dpi+ddpi, data=LifeCycleSavings)
> model

Call:
lm(formula = sr ~ pop15 + pop75 + dpi + ddpi, data = LifeCycleSavings)

Coefficients:
(Intercept) pop15 pop75 dpi ddpi
28.5660865 -0.4611931 -1.6914977 -0.0003369 0.4096949


b. Print out a summary of the model

Ans. > summary(model)

Call:
lm(formula = sr ~ pop15 + pop75 + dpi + ddpi, data = LifeCycleSavings)

Residuals:
Min 1Q Median 3Q Max
-8.2422 -2.6857 -0.2488 2.4280 9.7509

Coefficients:
Estimate Std. Error t value Pr(>|t|)
(Intercept) 28.5660865 7.3545161 3.884 0.000334 ***
pop15 -0.4611931 0.1446422 -3.189 0.002603 **
pop75 -1.6914977 1.0835989 -1.561 0.125530
dpi -0.0003369 0.0009311 -0.362 0.719173
ddpi 0.4096949 0.1961971 2.088 0.042471 *
---
Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1

Residual standard error: 3.803 on 45 degrees of freedom
Multiple R-squared: 0.3385, Adjusted R-squared: 0.2797
F-statistic: 5.756 on 4 and 45 DF, p-value: 0.0007904



c. Perform 10-fold cross validation on the model using the CVlm function in the DAAG library.

Ans.
> load("C:/Users/meatr/Downloads/DAAG Datasets and Functions.RData")

> cv<-CVlm(LifeCycleSavings,formula(sr~pop15+pop75+dpi+ddpi),10)
Analysis of Variance Table

Response: sr
Df Sum Sq Mean Sq F value Pr(>F)

Escuela, estudio y materia

Institución
BUSI 1301
Grado
BUSI 1301

Información del documento

Subido en
14 de noviembre de 2024
Número de páginas
9
Escrito en
2024/2025
Tipo
Examen
Contiene
Desconocido

Temas

$15.89
Accede al documento completo:

100% de satisfacción garantizada
Inmediatamente disponible después del pago
Tanto en línea como en PDF
No estas atado a nada


Documento también disponible en un lote

Conoce al vendedor

Seller avatar
Los indicadores de reputación están sujetos a la cantidad de artículos vendidos por una tarifa y las reseñas que ha recibido por esos documentos. Hay tres niveles: Bronce, Plata y Oro. Cuanto mayor reputación, más podrás confiar en la calidad del trabajo del vendedor.
saraciousstuvia WALDEN UNIVERSITY
Seguir Necesitas iniciar sesión para seguir a otros usuarios o asignaturas
Vendido
560
Miembro desde
3 año
Número de seguidores
380
Documentos
11349
Última venta
1 semana hace
BRIGHTEST IDEAS EDUCATIONAL WORLD

Welcome to the best educational world with the brightest,amazing and all complete study materials. I wish you great,easy learning and success through out your course. Kindly message me if you cant find your tutorials

4.0

114 reseñas

5
61
4
20
3
17
2
3
1
13

Recientemente visto por ti

Por qué los estudiantes eligen Stuvia

Creado por compañeros estudiantes, verificado por reseñas

Calidad en la que puedes confiar: escrito por estudiantes que aprobaron y evaluado por otros que han usado estos resúmenes.

¿No estás satisfecho? Elige otro documento

¡No te preocupes! Puedes elegir directamente otro documento que se ajuste mejor a lo que buscas.

Paga como quieras, empieza a estudiar al instante

Sin suscripción, sin compromisos. Paga como estés acostumbrado con tarjeta de crédito y descarga tu documento PDF inmediatamente.

Student with book image

“Comprado, descargado y aprobado. Así de fácil puede ser.”

Alisha Student

Preguntas frecuentes