- This folder contains the tutorials for learning mixed models and how to extract BLUEs and BLUPs.
- This tutorial demonstrates how to extract BLUES and BLUPs without using any software or package.
- This is to show you the main engine behind the philosophy of BLUEs and BLUPS by just solving the Mixed Model Equation give by Henderson (1950)
No more tricks, no secrets, just good old matrix multiplication
-
The source code in .R is available here Mixed_Models
-
The Step-by-Step guide and PDF document file is available here Mixed_Model_Tutorial
The steps to use the source codes and run it on local computer is given below:
- Open the GitHub page containing the source codes and files by using clicking the link https://github.com/whussain2/Mixed_Models/tree/main.
- This will pop-up the Github repository, click on the Code button on right side of page highlighted as green box and scroll and click on Download Zip.
- Save and unzip the downloaded repository in local drive.
- Set Mixed_Models_ as your working directory in R
- Open the .R file in R Studio and make sure to change the working directory based on users defined path to the repository.
- For opening PDF files, just open them in any any PDF package.
You may contact the author of this code, Waseem Hussain at waseem.hussain@cgiar.org; waseemhussain907@gmail.com