Publications by Binh Thang
Huong dan ve R
Vi du ve doc du lieu data=read.csv("C:/Users/binht/Dropbox/PhD/Data/Tu/Academic stress/dulieu.csv") names(data) ## [1] "lop" "msp" "a1" "a2" "a3" "a3x4" "a4" "a5" "a5x5" ## [10] "a6" "a6x5" "a7" "a14" "a151" "a152" "a153" "a154" "a155" ## [19] "a16" "a20" "a21" "a21x4" "a22" "a23x1" "a23x2" "dl1" ...
149 sym R (7335 sym/15 pcs)
Publish Document1
library(mediation) ## Loading required package: MASS ## Loading required package: Matrix ## Loading required package: mvtnorm ## Loading required package: sandwich ## mediation: Causal Mediation Analysis ## Version: 4.5.0 #chay thu model myData <- read.csv('http://static.lib.virginia.edu/statlab/materials/data/mediationData.csv') head(myData) #...
2651 sym R (4121 sym/24 pcs)
Document2
R Markdown This is an R Markdown document. Markdown is a simple formatting syntax for authoring HTML, PDF, and MS Word documents. For more details on using R Markdown see http://rmarkdown.rstudio.com. When you click the Knit button a document will be generated that includes both content as well as the output of any embedded R code chunks within t...
605 sym R (1712 sym/13 pcs) 2 img
Nhu cau va hai long
NHU CAU CUA NAHN VIEN Y TE library(qgraph) library(ggplot2) library(igraph) ## ## Attaching package: 'igraph' ## The following objects are masked from 'package:stats': ## ## decompose, spectrum ## The following object is masked from 'package:base': ## ## union data=read.csv("C:/Users/binht/Dropbox/Hue/data/networknhan/datanhucau...
243 sym R (2627 sym/16 pcs) 2 img
Stated Preference Methods Using R 1
###link code: http://lab.agr.hokudai.ac.jp/spmur/examples_ch2.R http://lab.agr.hokudai.ac.jp/spmur/ install.packages("DCchoice", repos = c("http://www.bioconductor.org/packages/release/bioc", "https://cran.rstudio.com/"), dep = TRUE) ## Installing package into 'C:/Users/binht/Documents/R/win-library/4.0' ## (as 'lib' is unspec...
9080 sym R (16557 sym/85 pcs) 6 img
Willingness to pay: COvid-19 vaccine
a=read.csv("C:/Users/binht/Dropbox/Hue/research/De tai cap truong/Y duc/NC chi tra vaccine/KQNC/plot.csv") 0.1 library(ggplot2) a1=ggplot(data=a, aes(x=wtp, y=Cum)) + geom_line() + ggtitle("") + labs(x="Willingness to pay for full-vaccination (1,000 VND)",y="Cummulative Percentage") + theme(plot.title = element_text(family = "Tre...
1481 sym R (763 sym/4 pcs) 2 img
Difference-in-differences with R
Vào năm 1980, Kentucky đã tăng giới hạn thu nhập hàng tuần được bù đắp bởi tiền bồi thường của người lao động. Chúng tôi muốn biết liệu chính sách mới này có khiến người lao động mất nhiều thời gian hơn để thất nghiệp hay không. Nếu phúc lợi không đủ hào phóng,...
24017 sym R (10508 sym/40 pcs) 9 img 1 tbl