# Can I use ANOVA when I have negative values in my data?

I was trying to analyze a data with negative values. Is it possible to use ANOVA in this case?

-

Certainly. Why not? The most usual ANOVA models assume normally distributed errors, and that introduces the possibility of negative values. The assumptions of the Gauss-Markov theorem are that errors have expectation $0$, all have the same variance, and are uncorrelated, and that doesn't rule out negative values and in some cases may necessitate them. I don't know of any ANOVA models that would assume all values are nonnegative. Sometimes one might have only positive values of a response variable and then do ANOVA with their logarithms as the response variable, but that response variable to which one applies ANOVA is not constrained to be nonnegative.
{"extraction_info": {"found_math": true, "script_math_tex": 0, "script_math_asciimath": 0, "math_annotations": 0, "math_alttext": 0, "mathml": 0, "mathjax_tag": 0, "mathjax_inline_tex": 1, "mathjax_display_tex": 0, "mathjax_asciimath": 0, "img_math": 0, "codecogs_latex": 0, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0, "katex": 0, "math-container": 0, "wp-katex-eq": 0, "align": 0, "equation": 0, "x-ck12": 0, "texerror": 0, "math_score": 0.7267698645591736, "perplexity": 184.6738255538005}, "config": {"markdown_headings": true, "markdown_code": true, "boilerplate_config": {"ratio_threshold": 0.18, "absolute_threshold": 10, "end_threshold": 15, "enable": true}, "remove_buttons": true, "remove_image_figures": true, "remove_link_clusters": true, "table_config": {"min_rows": 2, "min_cols": 3, "format": "plain"}, "remove_chinese": true, "remove_edit_buttons": true, "extract_latex": true}, "warc_path": "s3://commoncrawl/crawl-data/CC-MAIN-2014-42/segments/1414119651455.41/warc/CC-MAIN-20141024030051-00080-ip-10-16-133-185.ec2.internal.warc.gz"}