Let's say we have the statistics given below

```
gender mean sd n
f 1.666667 0.5773503 3
m 4.500000 0.5773503 4

```

How do you perform a two-sample t-test (to see if there is a significant difference between the means of men and women in some variable) using statistics like this rather than actual data?

I couldn't find anywhere on the internet how to do this. Most of the tutorials and even the manual deal with the test with the actual data set only.