Education

Updating R Version Without missing packages

After updating to new R version (4.5) from old version, you have to re-install all packages by default. However, there’re some solution for that. Unix (MacOs, Linux) 1.Create a new folder in home directory to store the packages. Sometimes, you need to change the permission level for this folder, or R may not have access to write this folder. Rlibs is a special folder where you can store all you packages.

Academic Writing

This post is aimed to remind myself how to write articles with Academic Writing Style. The original article is from http://libguides.usc.edu/writingguide/academicwriting. I. The Big Picture Unlike fiction or journalistic writing, the overall structure of academic writing is formal and logical. It must be cohesive and possess a logically organized flow of ideas; this means that the various parts are connected to form a unified whole. There should be narrative links

Parental Involvement and Children Motivation

One big problem in education study is the longitudinal effect of explanatory factor is always ignored. One of the reasons is the requirements of longitudinal data hardly be met. As a large number of educational studies made used of cross-sectional data to make conclusion, there will be severe issue. For instance, the effect could be positive in one year, however, the effect become smaller and smaller and eventually becomes negative.

EFA v.s. CFA

Big question I always found exploratory tools and confirmatory tools have distinct fans. The fans of exploratory tools believe the conclusion should be data-driven, nothing else beyond data is needed in order to keep object. On the other hand, some confirmatory fans believe that data could provide nothing without context. Daniel (1988) stated that factor analysis is “designed to examine the covariance structure of a set of variables and to provide an explanation of the relationships among those variables in terms of a smaller number of unobserved latent variables called factors.

Simulation of Lognormal distribution

This post is a try about how yo simulate lognormal distribution in R. Lognormal distribution is used a lot in cumulative data (e.x. counting), which is very similar with normal distribution except x should be larger than 0. For instance, the number of schools, the number of students. But I always have no idea about how to parameterized this distribution. I’ll update this post as I learn more about lognormal distribution…