Publications by Monowar Hossain
AST 431
Lecture Lecture 01 library(haven) #bd_birthweight <- read_sav("/home/mmhossain1/AST 431/bd_birthweight.sav") bd_birthweight <- read_sav("D:/4th year/AST 431 Statistical Computing X/AST-431 Batch 27/Data/bd_birthweight.sav") #View(bd_birthweight) summary(bd_birthweight$bwt) ## Min. 1st Qu. Median Mean 3rd Qu. Max. ## 886.2 2297....
577 sym R (102020 sym/222 pcs) 26 img
AST 430
Lecture Lecture 1 meanfun<- function(x){ m<- sum(x)/length(x) return(m) } x<-c(4,5,6,7) meanfun(x) ## [1] 5.5 library(tidyverse) ## ── Attaching core tidyverse packages ──────────────────────── tidyverse 2.0.0 ── ## ✔ dplyr 1.1.4 ✔ readr 2.1.5 ## ✔ forcats 1.0...
7195 sym R (91233 sym/156 pcs) 12 img 20 tbl
AST 332
Lecture L-1:Linear programming 1.1 Linear programming In Mathematics, linear programming is a method of optimising operations with some constraints. The main objective of linear programming is to maximize or minimize the numerical value. It consists of linear functions which are subjected to the constraints in the form of linear equations or ...
22614 sym R (49865 sym/295 pcs) 19 img 5 tbl
Histogram
Histogram Md Monowar Hossain february 07, 2024 ## Warning: package 'readxl' was built under R version 4.3.2 Shiny applications not supported in static R Markdown documents...
122 sym
AST 230 all in one
ALL SLIDE slide 01 (Introduction to R) n<-("welcome") print(n) ## [1] "welcome" 1+2+3+4+5 ## [1] 15 r <-(10^2)*3 print(r) ## [1] 300 x <- rnorm(5) x ## [1] -0.2150953 -1.1677641 1.3404319 -0.6383681 0.4801132 Vector x<-c(0,1,1,2,3,5,6,13,21,34,55) print(x) ## [1] 0 1 1 2 3 5 6 13 21 34 55 Matrix testdata <- matrix(c(1,1,1,2,2,3,3,3...
26028 sym R (267843 sym/942 pcs) 113 img
AST 230
ALL SLIDE slide 01 (Introduction to R) n<-("welcome") print(n) ## [1] "welcome" 1+2+3+4+5 ## [1] 15 r <-(10^2)*3 print(r) ## [1] 300 x <- rnorm(5) x ## [1] -1.09331727 0.72008413 0.18097488 0.36768992 -0.06341894 Vector x<-c(0,1,1,2,3,5,6,13,21,34,55) print(x) ## [1] 0 1 1 2 3 5 6 13 21 34 55 Matrix testdata <- matrix(c(1,1,1,2,2,...
14115 sym R (184978 sym/773 pcs) 90 img
AST 231
All Lecture 231 lecture 02 set working directory # "D:/2nd Year/AST 231" replace '/' by '\\' setwd("D:\\2nd Year\\AST 231\\AST 231") # or, Session >set working directory > to source file location setwd("D:/2nd Year/AST 231/AST 231") read excel file data<-read.csv("D:\\2nd Year\\AST 231\\AST 231\\EXCELL PRACTICE.csv") View(data) income <- re...
4406 sym R (58901 sym/241 pcs) 21 img
AST 231 Lecture 02
lecture 02 set working directory # "D:/2nd Year/AST 231" replace '/' by '\\' setwd("D:\\2nd Year\\AST 231\\AST 231") # or, Session >set working directory > to source file location setwd("D:/2nd Year/AST 231/AST 231") read excel file data<-read.csv("D:\\2nd Year\\AST 231\\AST 231\\EXCELL PRACTICE.csv") View(data) income <- read.table("D:/2nd ...
205 sym R (13338 sym/7 pcs)
AST 232 Anova Table
Code for anova table obs<-c(24,28,37,30,31,28,37,44,31,35,36,39,42,47,52,38,44,50) m<-matrix(data = obs,ncol = 6,byrow = T) m ## [,1] [,2] [,3] [,4] [,5] [,6] ## [1,] 24 28 37 30 31 28 ## [2,] 37 44 31 35 36 39 ## [3,] 42 47 52 38 44 50 treatment_total<-rowSums(m) treatment_total ## [1] 178 222 273 c...
91 sym