Find Jobs
Hire Freelancers

Help me look at what's wrong with my Rstudio project

$10-30 USD

Cerrado
Publicado hace alrededor de 4 años

$10-30 USD

Pagado a la entrega
a part, b part, and f part are already done. I am struggling with messy_impute() function for a few hours, but would probably know how to turn it into tidy_impute() (a) Create a simulated dataset in R called gradebook that represents a possible gradebook in the basic format given above: • Each row of the gradebook should contain measurements for a single student. • Each column should contain scores for individual assignments. • The last column should be “Section.” The simulated gradebook should contain the grades for at least 150 students (80 in section A and 70 in section B) and scores for 13 assignments. Set the seed for simulating your dataset to be your UID. (b) Randomly replace 10% of the scores in the Homework_10 and the Exam_3 by NA values. For each section, print out one student with NA value in the Homework_10, one with NA value in the Exam_3, and one without NA values in both columns. You will use those six students for the rest of the problems to demonstrate your results. Imputation is the process of replacing missing values by estimated values. The simplest (far from preferred) method to impute values is to replace missing values by the most typical (or “average”) value. (c) Write a function messy_impute() that will impute missing values in a data frame (or ntbble) that is organized in the same non-tidy way as grade book. You may present pseudocode or flowchart here. The mess_impute() function should have two optional arguments: - The center argument specifies whether to impute using the mean or the median. - The margin argument specifies one of two ways to input values: ◦ Impute the missing values using the center of the observed (non-missing) values in the column. ◦ Impute the missing values using the center of the observed values in the row. - The range argument specifies the columns/the rows for computing the typical value. It could be names or numeric indices (d) Using the gradebook variable, without reshaping or tidying, impute the missing homework and exam scores with messy_impute() using both the mean and the median of the observed homework and exam scores for sections A and B respectively. (e) Using the gradebook variable, without reshaping or tidying, impute each missing homework and exam score with messy_impute() using both the mean and the median of the individual student’s observed homework and exam scores. (f) Transform the gradebook variable into tidy format. Call the transformed variablegradebook_tidy. (g) Write a function tidy_impute() that will impute missing values from a specified column in a tibble that is organized in the same tidy way as gradebook_tidy. Thetidy_impute() function should have optional arguments to impute values that correspond to imputing in the same ways as in the messy_impute() function. You may present your pseudo code or flowchart here. (h) Using the gradebook_tidy variable impute the missing homework and exam scores withtidy_impute() using both the mean and the median of the observed homework and exam scores for sections A and B respectively. (i) Using the gradebook_tidy variable, impute each missing homework and exam score withtidy_impute() using both the mean and the median of the individual student’s observed homework and exam scores.
ID del proyecto: 23851322

Información sobre el proyecto

5 propuestas
Proyecto remoto
Activo hace 4 años

¿Buscas ganar dinero?

Beneficios de presentar ofertas en Freelancer

Fija tu plazo y presupuesto
Cobra por tu trabajo
Describe tu propuesta
Es gratis registrarse y presentar ofertas en los trabajos
5 freelancers están ofertando un promedio de $25 USD por este trabajo
Avatar del usuario
Hello sir We are a group of expert each one has a master degree in statistical analysis Economics and finances. We have more than 9 years of professional experience in R_programming language, python , SPSS .. we can start now! Regards
$20 USD en 1 día
5,0 (20 comentarios)
4,7
4,7
Avatar del usuario
hi i have understand the project requirement & interested to work for this project. I will start right now and I will do it within your time . Please send a message so we can discuss more & start the project. Thanks.
$30 USD en 1 día
4,9 (15 comentarios)
4,4
4,4
Avatar del usuario
Hi I see that you are struggling with data manipulation in r. I could assist you over come this problem by completing your code with well commented code and steps followed to arrive at the final answer. Send me the r file you are working on and I will help you with the rest. Thank you.
$30 USD en 1 día
5,0 (7 comentarios)
3,7
3,7
Avatar del usuario
Hello! You did not include the script you are working on. Can help quickly Please message details Thanks
$17 USD en 1 día
5,0 (11 comentarios)
3,9
3,9

Sobre este cliente

Bandera de UNITED STATES
Los Angeles, United States
0,0
0
Forma de pago verificada
Miembro desde ene 23, 2020

Verificación del cliente

¡Gracias! Te hemos enviado un enlace para reclamar tu crédito gratuito.
Algo salió mal al enviar tu correo electrónico. Por favor, intenta de nuevo.
Usuarios registrados Total de empleos publicados
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Cargando visualización previa
Permiso concedido para Geolocalización.
Tu sesión de acceso ha expirado y has sido desconectado. Por favor, inica sesión nuevamente.