아래 페이지에서 찾게 된 글.
필요할 때만 공부해서 통계는 안 느는거 같다. -_-
http://answers.yahoo.com/question/index?qid=20080518160556AAlpG5F
It is the same thing. 'Univariate' means one IV, as does 'one-way'.
Edit
Repeat: its the same thing. SPSS gives you two ways of doing a 1-way ANOVA. As you are a novice just use the 'One Way' option as it gives you fewer option boxes and make you less confused. ANOVA and regression appear under the GLM option as they both fall under this umbrella term (as do many other tests, but that's another story).
2012년 6월 26일 화요일
2012년 6월 24일 일요일
OpenCV in iOS
XCODE 4.2로 업그레이드를 하기전에, 좀 더 심사숙고했어야 하는데..
어쨋든 기존 프로젝트 섿업을 다시 한번 손봐줘야했다.
마지막으로 남은 OpenCV 문제.

Statement-expressions are allowed only inside functions
../externalLibs/opencv/include/opencv2/core/core.hpp:437: confused by earlier errors, bailing out
core.hpp 에서 MIN 함수에서 문제가 생기네..
해결법이 다음 링크에 나와있긴 한데, 나의 경우는 잘 안되었음.
http://computer-vision-talks.com/2011/01/using-opencv-in-objective-c-code/
이럴때는 간단히 아래처럼 MIN 을 정의를 undef하면 됨.
뭐 나중에 opencv내에서 정의하겠지..
어쨋든 기존 프로젝트 섿업을 다시 한번 손봐줘야했다.
마지막으로 남은 OpenCV 문제.

Statement-expressions are allowed only inside functions
../externalLibs/opencv/include/opencv2/core/core.hpp:437: confused by earlier errors, bailing out
core.hpp 에서 MIN 함수에서 문제가 생기네..
해결법이 다음 링크에 나와있긴 한데, 나의 경우는 잘 안되었음.
http://computer-vision-talks.com/2011/01/using-opencv-in-objective-c-code/
뭐 나중에 opencv내에서 정의하겠지..
#undef MIN
#include
굳이 나중에 문제가 생긴다면, 재정의하면 되고.
#define MIN(a, b) (((a) < (b)) ? (a) : (b))
2012년 6월 17일 일요일
A user agent sniffer
User agent sniffing
The term user agent sniffing refers to the practice of Web sites showing different content when viewed with a certain user agent. On the Internet, this will result in a different site being shown when browsing the page with a specific browser. A useful example of this is Microsoft Exchange Server 2003's Outlook Web Access feature. When viewed with Internet Explorer 6 (or newer), more functionality is displayed compared to the same page in any older browsers, because older browsers could not render the same content.[citation needed] User agent sniffing is mostly considered poor practice, since it encourages browser-specific design and penalizes new browsers with unrecognized user agent identifications. Instead, the W3C recommends creating HTML markup that is standard,[7] allowing correct rendering in as many browsers as possible, and to test for specific browser features rather than particular browser versions or brands.[8]
Ray 형때문에 simplexml_load_file 을 쓰다가 알게된 것.
위의 글을 읽어보니 그쪽 서버가 윈도우라는게 의심이 간다.
어쨋든 User agent sniffing은 표준과는 동떨어진 기술.
If you find that you are receiving 500 errors with simplexml_load_file() but you can access the xml/rss feed manually through a browser, your script is probably being blocked by a user agent sniffer.
Add this code before your xml call to remedy this issue
ini_set("user_agent","Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)");
ini_set("max_execution_time", 0);
ini_set("memory_limit", "10000M");
$rss = simplexml_load_file($feed_url);
?>
http://php.net/manual/en/function.simplexml-load-file.php
The term user agent sniffing refers to the practice of Web sites showing different content when viewed with a certain user agent. On the Internet, this will result in a different site being shown when browsing the page with a specific browser. A useful example of this is Microsoft Exchange Server 2003's Outlook Web Access feature. When viewed with Internet Explorer 6 (or newer), more functionality is displayed compared to the same page in any older browsers, because older browsers could not render the same content.[citation needed] User agent sniffing is mostly considered poor practice, since it encourages browser-specific design and penalizes new browsers with unrecognized user agent identifications. Instead, the W3C recommends creating HTML markup that is standard,[7] allowing correct rendering in as many browsers as possible, and to test for specific browser features rather than particular browser versions or brands.[8]
Ray 형때문에 simplexml_load_file 을 쓰다가 알게된 것.
위의 글을 읽어보니 그쪽 서버가 윈도우라는게 의심이 간다.
어쨋든 User agent sniffing은 표준과는 동떨어진 기술.
If you find that you are receiving 500 errors with simplexml_load_file() but you can access the xml/rss feed manually through a browser, your script is probably being blocked by a user agent sniffer.
Add this code before your xml call to remedy this issue
ini_set("user_agent","Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)");
ini_set("max_execution_time", 0);
ini_set("memory_limit", "10000M");
$rss = simplexml_load_file($feed_url);
?>
http://php.net/manual/en/function.simplexml-load-file.php
2012년 6월 15일 금요일
2012년 5월 31일 목요일
Confidence interval in Matlab
있는지 모르지만, 대충 만들어본 confidence interval 구하는 함수 (matlab).
사용은 아래처럼
Excel의 CONFIDENCE 함수와 동일
참고 페이지
http://support.microsoft.com/kb/828124
function x = getCI(alpha, stdev, sz)
%Normal inverse cumulative distribution function
cc = norminv([alpha/2 1-alpha/2],0,1);
cc = cc(2);
x = cc * stdev / sqrt(sz);
사용은 아래처럼
- conf95_c = getCI(0.05, stdev, length(A));
Excel의 CONFIDENCE 함수와 동일
참고 페이지
http://support.microsoft.com/kb/828124
2012년 5월 29일 화요일
2012년 5월 28일 월요일
npnj5agent
은행 업무는 이제 iOS에서만 해야겠다.
쓸데없이 상주하는 nProtect..
은행일 끝나면 사라지든가 비활성화하든가 해야하는게 맞는거 같은데..
게다가 자주 focus를 변경시켜 참을 수 없게 만든다.
미국에서 은행업무 볼 때는 어느 브라우져에서든 보안 걱정없이 잘했었는데..
가뜩이나 ActiveX를 쓰는 것도 답답한데, 이건 도가 지나친다.
다음 대통령 선거에서는 "ActiveX 사용을 억제하겠다"라고
공약걸어주는 사람에게 표를 던져야겠다.
쓸데없이 상주하는 nProtect..
은행일 끝나면 사라지든가 비활성화하든가 해야하는게 맞는거 같은데..
게다가 자주 focus를 변경시켜 참을 수 없게 만든다.
미국에서 은행업무 볼 때는 어느 브라우져에서든 보안 걱정없이 잘했었는데..
가뜩이나 ActiveX를 쓰는 것도 답답한데, 이건 도가 지나친다.
다음 대통령 선거에서는 "ActiveX 사용을 억제하겠다"라고
공약걸어주는 사람에게 표를 던져야겠다.
2012년 5월 20일 일요일
Cross processing
사진 처리 효과 중 하나.
Cross processing (sometimes abbreviated to Xpro) is the procedure of deliberately processing photographic film in a chemical solution intended for a different type of film.
Cross processing (sometimes abbreviated to Xpro) is the procedure of deliberately processing photographic film in a chemical solution intended for a different type of film.
2012년 5월 18일 금요일
Matlab 정수로 파일 저장
1) 실수 형태로 저장이 됨.
savefile = 'a.txt';
save savefile B -ascii;
2) Matlab 정수로 파일 저장
fid = fopen('data.txt', 'wt');
for i = 1:length(B)
fprintf(fid,'% g\t% g\t% g\t% g\n',B(i,1), B(i,2), B(i,3), B(i,4) );
end
fclose(fid);
bb = uint8(B); 로 하면 정수형태가 되나 save 명령으로 저장이 안됨.
http://www.mathworks.com/matlabcentral/newsreader/view_thread/255696
savefile = 'a.txt';
save savefile B -ascii;
2) Matlab 정수로 파일 저장
fid = fopen('data.txt', 'wt');
for i = 1:length(B)
fprintf(fid,'% g\t% g\t% g\t% g\n',B(i,1), B(i,2), B(i,3), B(i,4) );
end
fclose(fid);
bb = uint8(B); 로 하면 정수형태가 되나 save 명령으로 저장이 안됨.
http://www.mathworks.com/matlabcentral/newsreader/view_thread/255696
2012년 5월 12일 토요일
2012년 5월 11일 금요일
OpenOCD
make flash 부분을 보면..
flash: all
@echo ---------------------------------------------
@echo Flash programming...
@../OpenOCD/OpenOCD_ftdi.exe --file fury_ft2232_flash.cfg
The Open On-Chip Debugger (OpenOCD) aims to provide debugging, in-system programming and boundary-scan testing for embedded target devices.
OpenOCD for Stellaris JTAG 을 깔아서 설정했음.
관련 문서
http://fun-tech.se/stm32/OpenOCD/index.php
피드 구독하기:
글 (Atom)









