Start learning 50% faster. Sign in now
In R, the t.test() function is used to perform a t-test, which compares the means of two independent groups (samples) to determine if there is a statistically significant difference between them. The t.test() function is versatile and can perform both one-sample and two-sample t-tests. It also provides useful outputs, such as p-values and confidence intervals, to evaluate hypothesis tests for means. Why Other Options Are Wrong : B) anova() : ANOVA is used for comparing the means of more than two groups, not two independent samples. C) lm() : The lm() function is used for linear modeling (regression), not hypothesis testing of means. D) cor.test() : This function is used to test the correlation between two variables, not for comparing sample means. E) chisq.test() : The Chi-squared test is used for categorical data and tests the relationship between observed and expected frequencies, not for comparing means.
A shopkeeper purchases 5 packs of chips for Rs. 75. For how much should he sell one pack to get a profit of 25%?
A shopkeeper sold an article for Rs. 300 after offering a discount of 40%. If he earned a profit of 50%, then find the ratio of cost price to the marked...
Deepak sells all his goods available in his shop at the cost price, but he cheats on his customers and gives 25% fewer goods than he should give. Find h...
The cost price of 25 apples is Rs.50. If it is sold at 20% profit, then how many apples will be sold for Rs.60?
The cost price of six dozen cupcakes is Rs. 360. After selling 48 cupcakes at the rate of Rs. 108 per dozen, the shopkeeper reduced the rate and sold th...
The ratio of the cost price to the marked price of an article is 2:5 and the ratio of the profit percentage to the discount percentage is 5:3. Find the...
After selling 20 pens, a Shopkeeper earn a profit of the selling price of 6 books. While selling 20 books, a shopkeeper losses a selling price of 8 pen...
A vendor priced an item 25% higher than its cost price. During the sale of the pen drives, if the seller enhances the discount from 15% to 20%, the prof...
The ratio of marked price, cost price and selling price of an article is 17:12:8, individually. If the difference between marked price and cost price of...