Hello, I am currently having an issue with my code. I am trying to code a table of descriptive data but encounter an issue.
This is my code:
collect create corr2
pwcorr remote onlineagenda onlinesmalltalk Remote_Communication Remote_Problem_daydream Remote_Bizarre_daydream Remote_Creativity, sig
matrix define vechrow = vech(r(C))'
matrix list r(C)
matrix list vechrow
table (result coleq) (colname),
statistic(mean remote onlineagenda onlinesmalltalk Remote_Communication Remote_Problem_daydream Remote_Bizarre_daydream Remote_Creativity)
statistic(sd remote onlineagenda onlinesmalltalk Remote_Communication Remote_Problem_daydream Remote_Bizarre_daydream Remote_Creativity)
command(corr=(vech(r(C))') sig=(vech(r(sig))'):
pwcorr remote onlineagenda onlinesmalltalk Remote_Communication Remote_Problem_daydream Remote_Bizarre_daydream Remote_Creativity, sig) nformat(%5.2f mean sd)
However I am blocked because of the following:
table (result coleq) (colname),
keyword coleq requires option command()
I have no idea how to solve this. Can anyone help me? Thank you!
This is my code:
collect create corr2
pwcorr remote onlineagenda onlinesmalltalk Remote_Communication Remote_Problem_daydream Remote_Bizarre_daydream Remote_Creativity, sig
matrix define vechrow = vech(r(C))'
matrix list r(C)
matrix list vechrow
table (result coleq) (colname),
statistic(mean remote onlineagenda onlinesmalltalk Remote_Communication Remote_Problem_daydream Remote_Bizarre_daydream Remote_Creativity)
statistic(sd remote onlineagenda onlinesmalltalk Remote_Communication Remote_Problem_daydream Remote_Bizarre_daydream Remote_Creativity)
command(corr=(vech(r(C))') sig=(vech(r(sig))'):
pwcorr remote onlineagenda onlinesmalltalk Remote_Communication Remote_Problem_daydream Remote_Bizarre_daydream Remote_Creativity, sig) nformat(%5.2f mean sd)
However I am blocked because of the following:
table (result coleq) (colname),
keyword coleq requires option command()
I have no idea how to solve this. Can anyone help me? Thank you!
Comment