Ich benutze qreg in Stata, um eine Quantilsregression auszuführen, dann möchte ich ein Quantil Regressionsdiagramm für einen Koeffizienten mit grqreg grafisch darstellen. Ich kann eine Grafik ohne Probleme erstellen, solange ich nicht versuche, sie zu benennen. Als ich meinen Titel in put „Variable - Dataset“ Ich habe die Fehlermeldung:Quantil Regressionsdiagramm (grqreg) interpretiert Titel mit mehreren Wörtern als verknüpft mit mehreren Graphen
Anzahl der verschiedenen Titel von Anzahl von Variablen
Einige ist das Problem Beispielcode umreißt unten:
*setup
webuse auto, clear
keep price mpg headroom foreign
compress
*running quantile regression
qreg price mpg headroom foreign
*creating a quantile regression plot for the binary variable foreign
grqreg foreign, ci ols olsci graphregion(color(white))
*so far everything works and is uncontroversial
*now i quietly re-run the quantile regression
quietly: qreg price mpg headroom foreign
*and try to put a title on this graph with multiple words
*none of the below work
*grqreg always seems to think that each word in the title relates to a variable
grqreg foreign, ci ols olsci title(this is a title using multiple words)
grqreg foreign, ci ols olsci title("this is a title using multiple words")
grqreg foreign, ci ols olsci title('this is a title using multiple words')
grqreg foreign, ci ols olsci title((this is a title using multiple words))
*one worded title
quietly: qreg price mpg headroom foreign
grqreg foreign, ci ols olsci title(this_is_a_title_with_one_word)
Jede Hilfe wird sehr geschätzt. Vielen Dank!
Ich habe den Titel bearbeitet. Es ist klar, dass die 'title()' Option von 'grqreg' so funktioniert, wie der Autor es beabsichtigt und dokumentiert hat. Das Problem besteht also nicht darin, dass das Programm einen Befehl falsch interpretiert; es ist, dass Sie etwas anderes von diesem Verhalten wollen. –
Danke für die Bearbeitung! – Christoph