/Correlacao_Linear

This repository contains an C application which performs Linear Correlation calculation

Primary LanguageCMIT LicenseMIT

CORRELAÇÃO LINEAR

PT-BR:

Essa é uma aplicação construída utilizando Linguagem C, onde o intuito dessa aplicação é realizar cálculos estatísticos relacionados a Correlação Linear.

Para tal, é necessário que o usuário:

  1. Compilar o programa e executá-lo;
  2. Ao executar o programa, o usuário terá que digitar a quantidade de números que serão digitados;
  3. Digitar 1 caso ele queira encontrar algum valor específico usando a equação da reta (y = ax + b) ou 0 caso não queira encontrar nenhum valor específico;
  4. Se for necessário encontrar algum valor específico, o usuário terá que informar o valor de X para a equação da reta.
  5. Após isso, o usuário terá que digitar os números de entrada, um de cada vez, pertencentes ao eixo X. Logo após, terá que fazer o mesmo para os números do eixo Y;
  6. Ao final serão exibidos alguns valores essenciais que são encontrados ao realizarmos o cálculo de Correlação Linear;

EN:

This is an application built using C programming language and it performs statistic calculation related to Linear Correlation.

In order to the application perform those calculations the user must:

  1. Compile the program and execute it.
  2. When the user execute it, the first data the user must provide is the amount of numbers that will be inputted.
  3. Type 1 if it is necessary to find an specific value using the equation of a Straight Line (y = mx + c) or 0 if it is not necessary find an specific value.
  4. If is necessary find an specific value, the user must provide the X value of the equation.
  5. After all these steps, the user will have to input each X axle value on at a time and the user will have to do the same to the values of the Y axle.
  6. In the end of the all those steps, some important values will be printed on the terminal.