I am having problem where i want want to compare six social preferences (Patience, trust, altruism etc) against 30 sample countries (Compare each to the overall mean) but i am getting errors kindly help. The main aim is check whether the mean value for each social preference differs significantly in your selected sample compared to the overall mean and this is the error
ttest patience if country == "Afghanistan", by(country)
1 group found, 2 required
r(420);
ttest patience if country == "Afghanistan", by(country)
1 group found, 2 required
r(420);
Comment