Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | ||||
4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 | 26 | 27 | 28 | 29 | 30 | 31 |
Tags
- 파이썬
- 이중우선순위큐
- programmers
- Blasius
- Crank-Nicolson
- Finite Difference Method
- FTCS
- Fluid Dynamics
- Compressible Flow
- Laminar
- Turbulent
- 예제
- 힙
- regression
- 통계학
- Boundary Layers
- heap
- 프로젝트오일러
- 프로그래머스
- Fluids
- 우선순위큐
- Statistics
- Navier-Stokes
- 회귀
- python3
- Python
- 유체역학
- projecteuler
- Heat Equation
- 디스크 컨트롤러
Archives
- Today
- Total
목록통계학 (2)
Sudal's Garage
clear all; close all; x = [-3 -1 1 3]; y = [1.3 1.5 1.4 1.2]; G = ones(length(x),3); G(:,2) = x'; G(:,3) = x'.^2; beta = (G'*G)\G'*y'; A = beta(1); B = beta(2); C = beta(3); scatter(x,y,'filled') hold on x = linspace(-3,3); plot(x,A + B*x + C*x.^2) Figure:
Programming/MATLAB
2019. 3. 19. 05:45
Q1. 다음과 같은 Data set 을 실험에서 얻었다고 해보자. 우리는 frequency 와 amplitude, 두개의 variables 에 대한 관계식을 찾고싶다.어떻게 해야 합리적이고 말이 되게 식을 정립할 수 있을까? 이와 같은 상황에서, Variables의 relationship을 찾는 과정을 Regression 이라고 한다. 크게 straight line fit, non-straight line fit 으로 나눌 수 있다. 이 두개의 차이는 뭘까? 다음의 예를 보자 감이 온다! Cannot have coefficient inside in x in "Linear""Linear"에서는 x앞에 계수가 올 수 없다. 이번 포스팅에선 y= A + Bx 같은 Low order fit 에 대해서 공부해보자..
Engineering
2019. 3. 19. 05:10