Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4,6 TrustPilot
logo-home
Document preview thumbnail
Preview 2 out of 11 pages
Exam (elaborations)

STA4809 Assignment 03 (896346) 2025

Document preview thumbnail
Preview 2 out of 11 pages

STA4809 Assignment 03 (896346) 2025 Complete answers guide. ASSIGNMENT 03 Unique Nr.: 896346 Fixed closing date: 27 June 2025 Question 1: A company has collected data on the time (in minutes) users spend on its mobile app daily. The data is as follows: [5, 7, 10, 12, 15, 17, 20, 21, 22, 25, 30, 33, 35, 36, 38, 40, 42, 45, 50, 55] a) Construct a histogram and a kernel density estimate of the app usage time.

Content preview

STA4809
Assignment 03 2025
Unique No: 896346

, ASSIGNMENT 03
Unique Nr.: 896346
Fixed closing date: 27 June 2025
Nonparametric Regression

Question 1: App Usage Time Analysis

a) Histogram and Kernel Density Estimate
The dataset represents app usage times (minutes) for 20 users. Below is the R script to
generate visualizations:

r

# Load required libraries

library(ggplot2)

library(KernSmooth)



# Dataset

app_usage <- c(5, 7, 10, 12, 15, 17, 20, 21, 22, 25, 30, 33, 35, 36, 38, 40, 42, 45, 50,
55)



# Histogram

ggplot(data.frame(app_usage), aes(x = app_usage)) +

geom_histogram(binwidth = 5, fill = "skyblue", color = "black", alpha = 0.7) +

ggtitle("Histogram of App Usage Time") +

xlab("Time (minutes)") + ylab("Frequency")



# Kernel density estimates

Document information

Uploaded on
June 23, 2025
Number of pages
11
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers
R46,96

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
FocusZone
4,2
(67)
Sold
444
Followers
2
Items
631
Last sold
1 day ago



Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their exams and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can immediately select a different document that better matches what you need.

Pay how you prefer, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card or EFT and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions