Escrito por estudiantes que aprobaron Inmediatamente disponible después del pago Leer en línea o como PDF ¿Documento equivocado? Cámbialo gratis 4,6 TrustPilot
logo-home
Examen

Hw 6 - hw 6

Puntuación
-
Vendido
-
Páginas
4
Grado
A+
Subido en
15-10-2024
Escrito en
2024/2025

Exam of 4 pages for the course Intro to Analytics Modeling at Intro to Analytics Modeling (Hw 6 - hw 6)

Institución
Intro To Analytics Modeling
Grado
Intro to Analytics Modeling

Vista previa del contenido

10/15/24, 9:20 Hw 6 - hw
AM 6




Question 9.1

Using the same crime data set uscrime.txt as in Question 8.2, apply Principal Component
Analysis and then create a regression model using the first few principal components. Specify
your new model in terms of the original variables (not the principal components), and compare
its quality to that of your solution to Question 8.2. You can use the R function prcomp for PCA.
(Note that to first scale the data, you can include scale. = TRUE to scale as part of the PCA
function. Don’t forget that, to make a prediction for the new city, you’ll need to unscale the
coefficients (i.e., do the scaling calculation in reverse)!)




Based off the plot, the first ff pcs are good since it is above the STD. Setting this number, we can
build the model (shown in the code below)
We can then run the same variables from the previous HW and compare the 2 models. The
model transformation is shown in the code below.




about:blan 1/
k 4

Escuela, estudio y materia

Institución
Intro to Analytics Modeling
Grado
Intro to Analytics Modeling

Información del documento

Subido en
15 de octubre de 2024
Número de páginas
4
Escrito en
2024/2025
Tipo
Examen
Contiene
Preguntas y respuestas

Temas

$12.49
Accede al documento completo:

¿Documento equivocado? Cámbialo gratis Dentro de los 14 días posteriores a la compra y antes de descargarlo, puedes elegir otro documento. Puedes gastar el importe de nuevo.
Escrito por estudiantes que aprobaron
Inmediatamente disponible después del pago
Leer en línea o como PDF

Conoce al vendedor
Seller avatar
EXAMSHAVEN1

Conoce al vendedor

Seller avatar
EXAMSHAVEN1 Stanford University
Seguir Necesitas iniciar sesión para seguir a otros usuarios o asignaturas
Vendido
2
Miembro desde
1 año
Número de seguidores
0
Documentos
924
Última venta
11 meses hace
A+ GRADE FOR NURSING EXAMS

Success is the sum of small efforts - repeated day in and day out. I am here to help in the precise way possible. Day in day out I will be updating you \\\'all with the latest exams not only in nursing but also in other areas. Don\\\'t forget to check out my store and recommend it to a friend. I will be uploading LATEST TESTBANKS TOO.

0.0

0 reseñas

5
0
4
0
3
0
2
0
1
0

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