Publications by Al-Ahmadgaid Asaad
Example: One Sample t-Test
Using the stack loss dataset, test the hypothesis that the mean of the stackloss is equal to 20 versus a two-sided alternative. Solution:Codes:Output:Interpretation: With the p-value greater than the level of significance alpha at 0.05, then we lack the evidence to reject the null hypothesis. And thus, the true mean is equal to 20. Related To ...
729 sym 2 img
Example: Two Sample t-Test
The recovery time (in days) is measured for 10 patients taking a new drug and for 10 different patients taking a placebo. We wish to test the hypothesis that the mean recovery time for patients taking the drug is less than for those taking placebo. The data are: With drug: 15,10,13,7,9,8,21,9,14,8 Placebo: 15,14,12,8,14,7,16,10,15,1...
1454 sym 2 img
Population of Tawi-Tawi from 1903 to 2010
R Codeslibrary(ggplot2) library(colorRamps) TawiTawiPop <- c(17000, 45000, 46000, 59000, 79000, 110000, 143000, 195000, 228204, 250718, 322317, 450346, 366550) YearNames <- c("1903", "1918", "1939", "1948", "1960", "1970", "1975", "1980", "1990", "1995", "2000", "2007", "2010") qplot(YearNames, TawiTawiPop, ...
403 sym R (984 sym/1 pcs) 2 img
Population of Iligan City from 1970 to 2010
R Codeslibrary(ggplot2) library(grDevices) IliganCity <- c(104493, 118778, 167358, 226568, 273004, 285061, 308046, 322821) CensalYear <- c("1970", "1975", "1980", "1990", "1995", "2000", "2007", "2010") qplot(CensalYear, IliganCity, xlab = expression(bold("Censal Year")), ylab = expression(bold("Population")), geom = "bar", colour = I("re...
403 sym R (779 sym/1 pcs) 2 img
Average Annual Population Growth Rate of Tawi-Tawi
R Codeslibrary(ggplot2) TawiTawiGrowthRate <- as.numeric(c(2.6, 3.3, 5.9, 1.6, 1.8, 5.5, 5)) CensalYear <- c("1948-1960","1960-1970","1970-1980","1980-1990","1990-1995", "1995-2000","2000-2007") qplot(CensalYear, TawiTawiGrowthRate, xlab = expression(bold("Censal Year")), ylab = expression(bold("Growth Rate")), ylim = c(1.3, 6.3)) + geom_path(...
403 sym R (763 sym/1 pcs) 2 img
My On-Job Training Analytics
I have been working at Provincial Statistics Office of Tawi-Tawi (Philippines) which was part of the training on my OJT (On-Job Training). One of the requirements of the training is at least 80 hours of services, so I decided to work from April 19 to May 18, 2012, making it sure to surpass the required hours.In that office, there is this daily re...
3734 sym 8 img
Experimental Design: Problem Set
QUESTIONSThe tensile strength of Portland cement is being studied. Four different mixing techniques can be used economically. The following data have been collected: MixingTechniques Tensile Strength (lb/in2) 1 3129 3000 2865 2890 2 3200 3300 2975 3150 3 2800 2900 3985 3050 4 2600 2700 2600 2765 Test the hypothesis that mi...
8888 sym 10 img 4 tbl
Download and Install R in Windows
The R statistical package is available at CRAN website. In this site, do the followingClick the Download R for Windows. Then go to install R for the first time in the base subdirectory. And finally download the latest version of R for windows. To install R, please watch the video below Related To leave a comment for the author, p...
696 sym
Download and Install R in Ubuntu
There are two ways to install R in Ubuntu. One is through the terminal, and the other is through the Ubuntu Software Center.Through TerminalPress Ctrl+Alt+T to open Terminal Then execute sudo apt-get update After that, sudo apt-get install r-baseTo run R statistical package, execute R in the Terminal (see the picture below).R statistical package...
1544 sym 6 img 3 tbl
Entering Data to R
To enter data into R, two common and easy to use R functions are utilized.The concatenate function, c; and,The data.frame function.The concatenate function, c, is use for combining data points into a single numeric R object. The usage of this function is simply c(), the entries inside the parentheses will be the data points separated ...
1496 sym