Blog Stats
 1,328,920 views
Latest Updates
Singapore Maths Tuition

Singapore Maths Tuition
 Marbles Math Question
 Homeschool Math Challenging Puzzles
 7 Essential Abilities To Be A Successful Entrepreneur
 Going Hungry In Singapore
 GEP Test Format
 The Notorious Collatz conjecture
 Pinterest RSS Feed
 The Wisdom Of The Law – Homily by Archbishop William Goh (16 Feb 2020)
 Preparation Tips for Examination For MBA
 IGRUA ENTRANCE EXAM 2020
Archives
Maths Strategy Tuition
Follow me on Twitter
My Tweets
Tag Archives: statistics
2 types of chisquared test
Most people have heard of chisquared test, but not many know that there are (at least) two types of chisquared tests. The two most common chisquared tests are: 1way classification: Goodnessoffit test 2way classification: Contingency test The goodnessoffit chisquared test … Continue reading
Calculate Cronbach Alpha using Python
R has the package “psych” which allows one to calculate the Cronbach’s alpha very easily just by one line: psych::alpha(your_data, column_list) For Python, the situation is more tricky since there does not seem to exist any package for calculating Cronbach’s … Continue reading
Python code for PCA Rotation “varimax” matrix
The R programming language has an excellent package “psych” that Python has no real equivalent of. For example, R can do the following code using the principal() function: principal(r=dat, nfactors=num_pcs, rotate=”varimax”) to return the “rotation matrix” in principal component analysis … Continue reading