I am getting the following error: invalid 'name'
when I try to name my graph. Here are the commands I am using:
twoway (qfitci logscore_educadjust hours_of_sleep_per_night), ///
ytitle(Education-Adjusted Log Score) ytitle(, size(medium) margin(small)) ///
ylabel(, nogrid) xtitle(Hours of Sleep Per Night) xtitle(, size(medium) ///
margin(medium)) xmtick(3(1)11) title(Log-Score by Nightly Sleep Duration - ///
Speed Match, size(medium) position(12) margin(large)) scheme(s2mono) ///
graphregion(fcolor(white)), if unique & game == "Speed Match" ///
name(Final Project_Graph, replace) ///
saving("Final Project_Graph.gph", replace)
Thank you,
Anne