Animal Sciences
Animal Sciences
  • 66
  • 472 162
Simple Linear Regression in R Programming | Fitting Linear Model in R
This video is about simple linear regression in R. The simple linear regression model is used to predict the outcome of response variable or dependent variable on the basis of one explanatory variable or independent variable. lm () function is used to fit a linear model in R. The model can be saved with any object name. The values for intercept or alpha and beta or regression coefficient can be obtained by printing out the model.
The summary function can be used to get the summary of a linear regression model. With summary function, you can get values of minimum, maximum, first quantile of residuals. Similiary, standard errors of intercept and regression coefficient, p values and t statistic can also be obtained using the summary of model in r. It also gives values of coefficient of determination or r squared and adjusted r squared.
Rscript/codes used in this tutorial
drive.google.com/file/d/1ujWIRgR29vMAEPDdK1gVAuhKTK33aP8W/view?usp=sharing
To download Data used in this video
drive.google.com/file/d/1_XSF700DaL9r38hdHAVYzpBzKqrkb0Mm/view?usp=sharing
To learn basics of R Programming
th-cam.com/play/PL1ectsXIpOkd36uTl6PpoOOjbRhaqm7lE.html
#regression #linearmodel #rprogramming
มุมมอง: 1 512

วีดีโอ

Correlation Coefficient in R | Pearson Correlation | Spearman Correlation | Kendall Correlation
มุมมอง 1.1Kปีที่แล้ว
This video is about the calculation of correlation coefficient in R. Correlation is a statistical method that is used to find out the relationship between two variables. There are different methods to calculate correlation like Pearson Correlation, Spearman correlation and Kendall correlation. Pearson correlation is mostly used to compute the correlation coefficient. However, it depends on the ...
Use of tapply() Function in R | R Programming for Beginners
มุมมอง 622ปีที่แล้ว
This video is about tapply () function in R. You will learn how to use tapply function in rstudio. tapply function in R is used to apply a function to data separated by factors. If data contains factor and numeric variables, then we can use tapply function. You can also apply this function to multiple factor variables. Following is the syntax of tapply function: tapply(X, INDEX, FUN = NULL, ......
Use of apply Function in R | R for Beginners
มุมมอง 537ปีที่แล้ว
This video is about the apply function in R. You will learn how to use apply function in R. Apply function in R can be used to perform an action to multiple rows and columns. So, this function is very helpful in R Programming. To get help on the use of apply() function in R, insert a question mark to it like ?apply(). The documentation on the use of this function will open in the help tab. Foll...
Two Sample T Test in R | Independent T Test for Two Samples in R
มุมมอง 1.1Kปีที่แล้ว
This video is about t test for two samples in R also known as independent t test for two samples. T test in R can be performed using t.test function. T test for two samples is used to compare the means of two populations or two groups. We can use independent t test for two samples to check whether the mean of two populations is same or different. In first step of t test we define null and alter...
Exploring Data in R | Useful R Functions to Explore Data in RStudio
มุมมอง 1.9Kปีที่แล้ว
This tutorial provides some useful R functions to explore data. There are various functions for exploratory data analysis in R. Exploring data is the first step before analyzing it in R. read.csv function is used to load a csv file in R dim function is used to get the dimensions of data set head function in R is used to get observations in first 6 rows of data tail function in R is used to get ...
One Sample t Test in R | Understand P Values in t Test | Hypothesis Testing in R
มุมมอง 2.2Kปีที่แล้ว
This video is about Student’s t test for one sample in R. This test is used when you have observations only on one variable. To perform t test, first we set null hypothesis and alternative hypothesis. We also check any outliers in the data using a boxplot before running the analysis. Two examples are provided in this video. The explanation of p value and interpretation of results of t.test func...
How to Calculate Standard Error of Data in R | Create Function in R
มุมมอง 3.6Kปีที่แล้ว
This video is about the calculation of standard error in R program. In R software, there is no in build function to calculate standard error. So, the standard error in R can be calculated by creating a function in R. There are also some packages which have functions to calculate standard error. In this video, I have shown both ways to calculate standard error. The describe function within psych...
Calculating Descriptive Statistics of Data in R
มุมมอง 3.2Kปีที่แล้ว
This video is about how to calculate descriptive statistics in R program. I have shown the functions to calculate measures of central tendency like mean, median, harmonic mean, geometric mean and measures of dispersion like range, variance and standard deviation in R. Summary function gives information on the minimum value, 1st quantile, median, mean, 3rd quantile and maximum value in a column ...
Export Data to a Text .txt File From R | Tab Delimited Text | Space delimited Text
มุมมอง 3.5Kปีที่แล้ว
This video is about exporting data in .txt format from R. We often need to export data sets in the from text files from RStudio. So, this video explains how you can transfer data from R to tab delimited text and space delimited text files. First I have shown creating a data set and then those data sets were exported as tab delimited and space delimited text files from R. To export data as text,...
How to Export Data From R to a CSV File | Basics of R Programming
มุมมอง 15Kปีที่แล้ว
This tutorial is about exporting data from R to a CSV file. There are different ways to write a csv file in R. I have shown exporting data using write.csv function. In the first step, I have shown how to create a data set and then export it to a comma separated values file. To get help on the use of write.csv function, type a question mark before this function. As you run the code, the document...
How to Create Data Frames in R | How to Add a New Column to a Data
มุมมอง 827ปีที่แล้ว
This video is about creating data frames in R. A data frame contains columns and rows and it is a two dimensional structure. First, we will create 4 objects. The first object is a character vector which contains the names of animals. The second object is a numeric vector which contains the numbers of animals, stored as animal_n. The 3rd object is names of fruits and the fourth object is the num...
Writing Scripts of Codes in R | R for Beginners
มุมมอง 4.8Kปีที่แล้ว
In this video, we will learn how to write and execute scripts of code in R. R script is a text file that can be used to store R commands and functions. To open the script file in rstudio, click on file, then new file and here click on R script. Alternatively, you can press CTRL Shift N from the keyboard to open R script file. So, Why do we need R script file? R script file can be used to save a...
How to Create Matrices and Perform matrix Operations in R
มุมมอง 6Kปีที่แล้ว
This video is about creating matrices and performing matrix operations in R programming. Matrix is a collection of elements of same data type which are arranged in rows and columns. A matrix has two dimensions which are rows and columns. For example, if a matrix has 3 rows and 2 columns, then the dimensions of this matrix are 3 x 2. In R, matrices can be created using the matrix() function. In ...
Performing Operation on Vectors and Objects in R
มุมมอง 855ปีที่แล้ว
This video is about how you can perform different operations on vectors, variables and objects in R. We will see how we can compare two vectors using different operators in R, compare numbers to the values in vector, check if two vectors are equal to each other or not, compare vectors with more than one values, perform arithmetic operations like addition, multiplication, subtraction and divisio...
Six Data Types Used in R | R Programming for Beginners
มุมมอง 1.5Kปีที่แล้ว
Six Data Types Used in R | R Programming for Beginners
Creating Objects and Variables in R | RStodio for Beginners
มุมมอง 2.9Kปีที่แล้ว
Creating Objects and Variables in R | RStodio for Beginners
Basic Math Calculations in R | RStudio as a Super Fast Calculator
มุมมอง 2.4Kปีที่แล้ว
Basic Math Calculations in R | RStudio as a Super Fast Calculator
Causes of Genetic Correlation Between Traits | Pleiotropy | Linkage
มุมมอง 1.6Kปีที่แล้ว
Causes of Genetic Correlation Between Traits | Pleiotropy | Linkage
What is Estimated Breeding Value | EBV | What is Transmitting Ability in Animal Breeding
มุมมอง 4.2Kปีที่แล้ว
What is Estimated Breeding Value | EBV | What is Transmitting Ability in Animal Breeding
Genetic Correlation in Animal Breeding | Phenotypic Correlation | Environmental Correlation
มุมมอง 4.5Kปีที่แล้ว
Genetic Correlation in Animal Breeding | Phenotypic Correlation | Environmental Correlation
What is a Genetic Parameter | Genetic Parameters in Animal Breeding
มุมมอง 2.8Kปีที่แล้ว
What is a Genetic Parameter | Genetic Parameters in Animal Breeding
10 Best Books for Animal Breeding and Genetics Students
มุมมอง 1.8Kปีที่แล้ว
10 Best Books for Animal Breeding and Genetics Students
Repeatability | Concepts of Repeatability
มุมมอง 4.6Kปีที่แล้ว
Repeatability | Concepts of Repeatability
13 Most Useful R Packages for Biologists, Animal Scientists and Agriculturists
มุมมอง 1.9Kปีที่แล้ว
13 Most Useful R Packages for Biologists, Animal Scientists and Agriculturists
How to Create a Project in RStudio
มุมมอง 15Kปีที่แล้ว
How to Create a Project in RStudio
How to Load Tab Delimited txt file in R and RStudio | Reading .txt File in R
มุมมอง 2.9Kปีที่แล้ว
How to Load Tab Delimited txt file in R and RStudio | Reading .txt File in R
How to Change Working Directory in R and RStudio
มุมมอง 10Kปีที่แล้ว
How to Change Working Directory in R and RStudio
How to Read a csv File in R | Loading a csv File in R
มุมมอง 14Kปีที่แล้ว
How to Read a csv File in R | Loading a csv File in R
The Easiest way to Learn R Programming | Swirl Package | Learn R in R
มุมมอง 2.7Kปีที่แล้ว
The Easiest way to Learn R Programming | Swirl Package | Learn R in R

ความคิดเห็น

  • @NathanYount
    @NathanYount 10 วันที่ผ่านมา

    On 360, they don't make that easy to find the old way like described here but is categorized under DATA. Click the Data Tab, Analysis Tools, click both check boxes since if you are enabling that you would want Solver and Analysis Toolpak.

  • @swethakemidi601
    @swethakemidi601 10 วันที่ผ่านมา

    Thank you 😊 sir

  • @ramtiwari7281
    @ramtiwari7281 12 วันที่ผ่านมา

    Still it is not showing

    • @AnimalSciences
      @AnimalSciences 12 วันที่ผ่านมา

      Close MS Word and then repeat the steps. Hope it will work

  • @GarsinoYarsonParsinVacrson-w8d
    @GarsinoYarsonParsinVacrson-w8d 12 วันที่ผ่านมา

    Young Donald Moore Elizabeth Martin Frank

  • @NasasiiraIsaac
    @NasasiiraIsaac 18 วันที่ผ่านมา

    I think I will access other video

  • @fijiangel801
    @fijiangel801 22 วันที่ผ่านมา

    Chimpanzee ray 420 par

    • @AnimalSciences
      @AnimalSciences 21 วันที่ผ่านมา

      Couldn't understand. Can you elaborate?

  • @shodhankv3299
    @shodhankv3299 24 วันที่ผ่านมา

    Thanks for this vedio

  • @afromusiclovers5919
    @afromusiclovers5919 26 วันที่ผ่านมา

    🎉🎉🎉🎉🎉🎉

  • @Hamidbibi-y4l
    @Hamidbibi-y4l หลายเดือนก่อน

    thank you sir

  • @ritisnatanayak2
    @ritisnatanayak2 หลายเดือนก่อน

    thank you so much sir,can u also teach us gblup

    • @AnimalSciences
      @AnimalSciences หลายเดือนก่อน

      Thanks, I will try to cover this topic in future

  • @FarhanKhan-cf4xt
    @FarhanKhan-cf4xt หลายเดือนก่อน

    ❤❤

  • @Vet_Dr_Hamza_Jawad
    @Vet_Dr_Hamza_Jawad หลายเดือนก่อน

    Thanks!

    • @AnimalSciences
      @AnimalSciences หลายเดือนก่อน

      Glad, you liked it

  • @ingaseidova2120
    @ingaseidova2120 หลายเดือนก่อน

    thank you

    • @AnimalSciences
      @AnimalSciences หลายเดือนก่อน

      Glad, you liked it

  • @luiscarlosscb7612
    @luiscarlosscb7612 2 หลายเดือนก่อน

    Thanks

    • @AnimalSciences
      @AnimalSciences 2 หลายเดือนก่อน

      Glad, you liked it

  • @sadunipiyumika1256
    @sadunipiyumika1256 2 หลายเดือนก่อน

    ❤ thanks

    • @AnimalSciences
      @AnimalSciences 2 หลายเดือนก่อน

      Glad you liked it

  • @hardik.sharma1
    @hardik.sharma1 3 หลายเดือนก่อน

    Some of information is wrong.. please update information and concepts.

    • @AnimalSciences
      @AnimalSciences 3 หลายเดือนก่อน

      Can you highlight any wrong information? Thanks!

    • @hardik.sharma1
      @hardik.sharma1 2 หลายเดือนก่อน

      @@AnimalSciences 1. range of repeatability is 0 to 1. 2. Information on Grouping of repeatability as low, medium & high should be given

    • @AnimalSciences
      @AnimalSciences 2 หลายเดือนก่อน

      @@hardik.sharma1 Repeatability is the correlation between repeated records of a trait in a population and it can range from -1 to 1. However, it's very rare that you get negative value for Repeatability but still it's possible to get negative value of Repeatability. For better understanding of this topic I would recommend you to go through the Repeatability topic in 'Understanding Animal Breeding Book by Richard M. Bourdon'.

  • @JimjnrPrince
    @JimjnrPrince 3 หลายเดือนก่อน

    Thank you ❤

    • @AnimalSciences
      @AnimalSciences 3 หลายเดือนก่อน

      Glad you like it

  • @suhailmanzoorofficialeducation
    @suhailmanzoorofficialeducation 3 หลายเดือนก่อน

    ❤❤❤ @ 14 June 2024 (9:53 AM)

  • @harekrishna5834
    @harekrishna5834 3 หลายเดือนก่อน

    good explanation bro ....thank you i stuck in 1st point .....are u from ind ?????

    • @AnimalSciences
      @AnimalSciences 3 หลายเดือนก่อน

      Thanks, from Pakistan

  • @harekrishna5834
    @harekrishna5834 3 หลายเดือนก่อน

    good explanation bro ....thank you i stuck in 1st point from ......are u from ind ?????

  • @harekrishna5834
    @harekrishna5834 3 หลายเดือนก่อน

    good explanation bro ....thank you i stuck in 1st point from ......are u from ind ?????

    • @AnimalSciences
      @AnimalSciences 3 หลายเดือนก่อน

      Thanks, from Pakistan

  • @emmanuelarnhold1035
    @emmanuelarnhold1035 4 หลายเดือนก่อน

    look easyanova package

  • @mayday2211
    @mayday2211 4 หลายเดือนก่อน

    Thank you!!

    • @AnimalSciences
      @AnimalSciences 4 หลายเดือนก่อน

      Thanks, glad you liked it

  • @1realtruthrightnow742
    @1realtruthrightnow742 4 หลายเดือนก่อน

    what is R used for?

    • @AnimalSciences
      @AnimalSciences 4 หลายเดือนก่อน

      R is a programming language (software), that is used for statistical analysis and data visualization.

    • @1realtruthrightnow742
      @1realtruthrightnow742 4 หลายเดือนก่อน

      @@AnimalSciences Thank you for the reply Could R be used for Lotteries and or pattern recognition within lotteries?

    • @AnimalSciences
      @AnimalSciences 4 หลายเดือนก่อน

      @@1realtruthrightnow742 it can be... But you should be expert in statistics.

  • @basmahf172
    @basmahf172 4 หลายเดือนก่อน

    How to open file if not available

    • @AnimalSciences
      @AnimalSciences 4 หลายเดือนก่อน

      Couldn't understand what exactly you're asking. Can you elaborate it?

  • @jeanclarissepenado2516
    @jeanclarissepenado2516 4 หลายเดือนก่อน

    Thank you, Sir!!!

    • @AnimalSciences
      @AnimalSciences 4 หลายเดือนก่อน

      Glad you liked it

  • @pspk-edicts3498
    @pspk-edicts3498 4 หลายเดือนก่อน

    Excellent one bro❤

  • @Sanjaykumar-ov6sm
    @Sanjaykumar-ov6sm 4 หลายเดือนก่อน

    very nice video sir

  • @velkykopyto7021
    @velkykopyto7021 4 หลายเดือนก่อน

    omg thanks a lot I have been struggling for hours now and you showed me the path :)

  • @kwangs5762
    @kwangs5762 5 หลายเดือนก่อน

    The formula for estimation of broad sense heritability was H²=vG/vG why don't we use that instead of H²=2(r MZ. - r DZ) I don't get it

    • @AnimalSciences
      @AnimalSciences 5 หลายเดือนก่อน

      Heritability is the proportion of phenotypic variance that is due to genotypic variance. Mathematically, it can be expressed as vG/vP. So, this is how it is expressed but to actually calculate it you need to have calculated phenotypic and genetic variance first. To calculate phenotypic and genetic variance scientists have developed different methods which are explained in this video. It is also explained in this video why it is very difficult to calculate broad sense heritability. All of these methods are based on ways to calculate similarities or differences in living organisms. For example, correlation tells us the strength of relationship between two variables. So, correlation can be used to calculate heritability. I hope you got the point. If you want to fully understand these concepts then you can watch the videos series on heritability and methods to estimate heritability.

  • @Vet_Dr_Hamza_Jawad
    @Vet_Dr_Hamza_Jawad 5 หลายเดือนก่อน

    • @AnimalSciences
      @AnimalSciences 5 หลายเดือนก่อน

      Thank you ❤️

  • @LuizaTonietto
    @LuizaTonietto 5 หลายเดือนก่อน

    Do you have sources? So that I can go deeper?

    • @AnimalSciences
      @AnimalSciences 5 หลายเดือนก่อน

      You can get more details on this topic from the book Understanding Animal Breeding by Richard M. Bourdon

  • @PAWSITIVE_BIOLOGY
    @PAWSITIVE_BIOLOGY 5 หลายเดือนก่อน

    The way u say measured made me laugh so much This is better a comedy channel 😅

    • @AnimalSciences
      @AnimalSciences 5 หลายเดือนก่อน

      Although this isn't a comedy channel, I'm happy to know that I was able to make you laugh. Thank you 😊

    • @woodcouleecattle
      @woodcouleecattle 5 หลายเดือนก่อน

      ​@@AnimalSciences It's not meant to be a sad world I hope you are doing alright!!!

    • @PAWSITIVE_BIOLOGY
      @PAWSITIVE_BIOLOGY 5 หลายเดือนก่อน

      @@AnimalSciences hiiii sir just kidding 😂 Don't mind

  • @Vet_Dr_Hamza_Jawad
    @Vet_Dr_Hamza_Jawad 5 หลายเดือนก่อน

    Thanks, it was very helpful.

  • @gamerangel6587
    @gamerangel6587 5 หลายเดือนก่อน

    thank you sir..god bless you..

    • @AnimalSciences
      @AnimalSciences 5 หลายเดือนก่อน

      Thank you, glad you liked it

  • @smruti13
    @smruti13 5 หลายเดือนก่อน

    Ky only computer mai hi chalega mobile mai nhi ?

    • @AnimalSciences
      @AnimalSciences 5 หลายเดือนก่อน

      Yes, only for computer

  • @ditynarayan8082
    @ditynarayan8082 5 หลายเดือนก่อน

    Thank you....

  • @gamerangel6587
    @gamerangel6587 5 หลายเดือนก่อน

    thank you sir..respect++++

  • @128m.elizabethranim.elizab2
    @128m.elizabethranim.elizab2 5 หลายเดือนก่อน

    Thank you so much bro ❤❤

    • @AnimalSciences
      @AnimalSciences 5 หลายเดือนก่อน

      Thank you! Glad you like it

  • @Vet_Dr_Hamza_Jawad
    @Vet_Dr_Hamza_Jawad 5 หลายเดือนก่อน

    Great video!

    • @AnimalSciences
      @AnimalSciences 5 หลายเดือนก่อน

      Thank you ❤️

  • @SapanaKafle-jq4gi
    @SapanaKafle-jq4gi 5 หลายเดือนก่อน

    Thank you sir for sharing it . Plz send the link of genetics of livestock development JF Lasley if it access.

    • @AnimalSciences
      @AnimalSciences 5 หลายเดือนก่อน

      I think it's not freely available. You can purchase it from Amazon.

  • @eliasfisseha8554
    @eliasfisseha8554 5 หลายเดือนก่อน

    My brother thank you very much. I like your lecture . I have one question for you. Are these two options that are only available to enter data in to R or other more ? please show us all the options.

    • @AnimalSciences
      @AnimalSciences 5 หลายเดือนก่อน

      There are different ways to load data in R. If you have data in a CSV file then you can use these methods. If your data is in txt format then you can use the method explained in the following video: th-cam.com/video/58fR3gV6pcY/w-d-xo.html

    • @eliasfisseha8554
      @eliasfisseha8554 5 หลายเดือนก่อน

      @@AnimalSciences thank you brother I will be in touch with you All the best from Ethiopia.

    • @AnimalSciences
      @AnimalSciences 5 หลายเดือนก่อน

      @@eliasfisseha8554 You're welcome ❤️

  • @nicholasvithoulkas3322
    @nicholasvithoulkas3322 6 หลายเดือนก่อน

    IVE BEEN trying to figure out this for over five hours. im in tears rn thank you so much

    • @AnimalSciences
      @AnimalSciences 6 หลายเดือนก่อน

      Thank you 😊

    • @temamtv9830
      @temamtv9830 5 หลายเดือนก่อน

      Literally me I was reevaluating my whole existence!!

    • @AnimalSciences
      @AnimalSciences 5 หลายเดือนก่อน

      @@temamtv9830 Thank you

  • @star-tn7cs
    @star-tn7cs 6 หลายเดือนก่อน

    This video helped me so so much in my class after sitting at my computer for an hour trying to figure it out , your video was a godsend! thank you

  • @abigailpalomino2995
    @abigailpalomino2995 6 หลายเดือนก่อน

    you are a saint. thank you so much

  • @yagneshkantharia2409
    @yagneshkantharia2409 6 หลายเดือนก่อน

    Your are Great mate . Thank you😊🙏

  • @user-df4to6zx7l
    @user-df4to6zx7l 7 หลายเดือนก่อน

  • @AnhQuocNguyen-jl1vi
    @AnhQuocNguyen-jl1vi 7 หลายเดือนก่อน

    very good

  • @OhMyDaRk
    @OhMyDaRk 7 หลายเดือนก่อน

    Hello, Do you have twitter, I would love to contact you! Thanks!

  • @divergent5521
    @divergent5521 7 หลายเดือนก่อน

    Very good explanation thank you.