Question
Which of the following R functions is used to perform a
t-test for comparing the means of two independent samples?Solution
In R, the t.test() function is used to perform a t-test, which is a statistical test for comparing the means of two groups. The function can be used for both independent and paired samples. When performing a t-test for independent samples, t.test() tests whether the means of two groups are significantly different from each other. It is one of the most commonly used functions in R for hypothesis testing related to the comparison of means. Why Other Options Are Incorrect: • B: lm() is used for fitting linear models in R. It is not used for hypothesis testing of means. • C: aov() is used for performing Analysis of Variance (ANOVA), which is used to compare means across more than two groups, not two independent samples. • D: cor.test() is used for testing the correlation between two variables, not for comparing their means. • E: boxplot() is used for visualizing the distribution of data across different groups, not for hypothesis testing of means.
How long has SEBI banned First Overseas Capital from participating in the securities market?Â
Which ministry has set up the Bhartiya Beej Sahkari Samiti Limited (BBSSL)?
Padma Vibhushan awardee Somanahalli Mallaiah Krishna, who passed away in December 2024, was the former Chief Minister of _________.
According to the World Gold Council (WGC), which country was the largest buyer of gold in 2024?
National Fish Farmers Day 2025 commemorates which key breakthrough in Indian aquaculture?Â
Who became the First Vice President of the Federal Reserve Bank, New York?Â
- Netumbo Nandi-Ndaitwah became the first woman president of which country in 2025?
What significant defence equipment is set to be retired by the Indian Air Force on 19th September 2025?Â
- Under the PM-AASHA scheme, which agency is responsible for procurement of pulses and oilseeds if market prices fall below MSP?
Recently the Election Commission of India is hosting a two-day international conference on the theme ‘Role, Framework & Capacity of Election Manageme...