Type: | Package |
Title: | Dataset for Statistical Analysis |
Version: | 0.1.0 |
Language: | en-US |
Maintainer: | Atchanut Rattanalertnusorn <atchanut_r@rmutt.ac.th> |
Description: | Data are essential in statistical analysis. This data package consists of four datasets for descriptive statistics, two datasets for statistical hypothesis testing, and two datasets for regression analysis. All of the datasets are based on Rattanalertnusorn, A. (2024) https://www.researchgate.net/publication/371944275_porkaermxarlaeakarprayuktchingan_R_and_its_applications. |
License: | CC0 |
Encoding: | UTF-8 |
LazyData: | true |
Depends: | R (≥ 2.10) |
RoxygenNote: | 7.3.2 |
NeedsCompilation: | no |
Packaged: | 2024-12-12 11:39:10 UTC; User |
Author: | Atchanut Rattanalertnusorn [aut, cre] |
Repository: | CRAN |
Date/Publication: | 2024-12-13 16:40:05 UTC |
Data set number 1 for descriptive statistics
Description
A dataset of the final scores of 10 students
Usage
data51
Format
data51
is a data frame with 10 rows and 1 column:
- x
Final score of each student
Source
<https://www.researchgate.net/publication/371944275_porkaermxarlaeakarprayuktchingan_R_and_its_applications>
References
Rattanalertnusorn, A. (2024). R and Its Application. TPN Press Ltd., Part. ISBN: 978-616-603-060-0. pp.122-123.
Examples
data51
Data set number 2 for descriptive statistics
Description
A dataset of midterm scores from 5 students. Each student took the exam two subjects: Thai and English
Usage
data52
Format
data52
is a data frame with 5 rows and 2 columns:
- x
Midterm score of English subject
- y
Midterm score of Thai subject
Source
<https://www.researchgate.net/publication/371944275_porkaermxarlaeakarprayuktchingan_R_and_its_applications>
References
Rattanalertnusorn, A. (2024). R and Its Application. TPN Press Ltd., Part. ISBN: 978-616-603-060-0. pp.125-128.
Examples
data52
Data set number 3 for descriptive statistics
Description
A dataset of the weights of 10 persons measure in kilogram
Usage
data53
Format
data53
is a data frame with 10 rows and 1 column:
- x
Weight of each person
Source
<https://www.researchgate.net/publication/371944275_porkaermxarlaeakarprayuktchingan_R_and_its_applications>
References
Rattanalertnusorn, A. (2024). R and Its Application. TPN Press Ltd., Part. ISBN: 978-616-603-060-0. pp.129-130.
Examples
data53
Data set number 4 for descriptive statistics
Description
A dataset of five students. Each student has name, age and gender
Usage
data54
Format
data54
is a data frame with 5 rows and 3 columns:
- name
Student name
- age
Student age
- gender
Student gender
Source
<https://www.researchgate.net/publication/371944275_porkaermxarlaeakarprayuktchingan_R_and_its_applications>
References
Rattanalertnusorn, A. (2024). R and Its Application. TPN Press Ltd., Part. ISBN: 978-616-603-060-0. pp.147.
Examples
data54
Data set for statistical hypothesis testing
Description
A dataset of the weight of two car types (type A and type B). The weight measured in kilograms
Usage
data81
Format
data81
is a data frame with 10 rows and 2 columns:
- wtcar.a
Weight of car type A
- wtcar.b
Weight of car type B
Source
<https://www.researchgate.net/publication/371944275_porkaermxarlaeakarprayuktchingan_R_and_its_applications>
References
Rattanalertnusorn, A. (2024). R and Its Application. TPN Press Ltd., Part. ISBN: 978-616-603-060-0. pp.237.
Examples
data81
Data set for the paired t-test
Description
A dataset of the pre-test and post-test scores
Usage
data82
Format
data82
is a data frame with 15 rows and 2 columns:
- pretest
The pre-test score
- posttest
The post-test score
Source
<https://www.researchgate.net/publication/371944275_porkaermxarlaeakarprayuktchingan_R_and_its_applications>
References
Rattanalertnusorn, A. (2024). R and Its Application. TPN Press Ltd., Part. ISBN: 978-616-603-060-0. pp.247.
Examples
data82
Data set for simple linear regression model
Description
A dataset of the advertising costs and sales
Usage
data91
Format
data91
is a data frame with 9 rows and 2 columns:
- Advcosts
The advertising costs are measured in a hundred thousand baht
- Sales
The sales are measured in a million bath
Source
<https://www.researchgate.net/publication/371944275_porkaermxarlaeakarprayuktchingan_R_and_its_applications>
References
Rattanalertnusorn, A. (2024). R and Its Application. TPN Press Ltd., Part. ISBN: 978-616-603-060-0. pp.265-266.
Examples
data91
Data set for multiple linear regression model
Description
A dataset of salary, overtime, and savings per month of 12 employees
Usage
data92
Format
data91
is a data frame with 12 rows and 3 columns:
- x1
The salary of employees is measured in baht
- x2
The overtime of employees is measured in baht
- y
The savings per month of employees are measured in baht
Source
<https://www.researchgate.net/publication/371944275_porkaermxarlaeakarprayuktchingan_R_and_its_applications>
References
Rattanalertnusorn, A. (2024). R and Its Application. TPN Press Ltd., Part. ISBN: 978-616-603-060-0. pp.275.
Examples
data92