R ja QRMlib-kirjasto Anssi Käki 7.9.2011 Työn saa tallentaa ja julkistaa Aalto-yliopiston avoimilla verkkosivuilla. Muilta osin kaikki oikeudet pidätetään.

Slides:



Advertisements
Samankaltaiset esitykset
Tietokantakehitys kiinteäksi osaksi modernia ohjelmistokehitystä Vesa Tikkanen |
Advertisements

EPiServer 7. Paras EPiServer ikinä käyttäjää.
1 Sektorin nimi. 2 Reading times of magazines NRS Finland 2012.
WAP-services “ WAP-interface makes it easier to use mobile services now than ever before - you simply move from one page to another, from one service to.
ENAK  to trust sth/sb  maximum/minimum  dozens of exercise books  nowAdays  becAuse  enough_  through_  jotta = so (that)  yhtä –kuin.
Apuverbien tehtävä on auttaa
Tampere city library consists of main library, newpaper reading room, 14 branches, 2 mobile libraries, 6 institutional libraries and Internet bus.
COURSE 1 In Touch (Wsoy). RULES RULES Please, don’t be late! If the door is closed, don't bother! Please, don’t be late! If the door is closed, don't.
Yhden- mukainen ja virtualisoitu Prosessien mukaan mallinnettu Palvelu- keskeinen Käyttäjä- läheinen Ihmiset, Prosessit, Teknologia PerusStandardoituEdistynytDynaaminen.
Development Association SEPRA How to involve youth into strategic rural development work? Budapest, 8th November 2011 Euroopan maaseudun kehittämisen maatalousrahasto:
End-User Needs and Contextual Design Katja Konkka and Satu Kalliokulju
A solution for flexible bicycle transportation
GECOS Global Engineering Coordination Support
1 Sektorin nimi. 2 Reading times of magazines NRS Finland 2011.
ICT4D in teacher training - Tieto- ja viestintätekniikkaa kehitysmaan opettajankoulutuksessa Mikko Vesisenaho Faculty of Education.
JYVÄSKYLÄN YLIOPISTO UNIVERSITY OF JYVÄSKYLÄJYVÄSKYLÄN YLIOPISTO UNIVERSITY OF JYVÄSKYLÄ Creating methodologic al tools for wp2-wp4 Workpackage 1 UPDATE.
Getting on Thursday Chapter 8 Grammar  verbi + ing (kestomuoto, gerundi) ja verbi + infinitiivi eli perusmuoto saattavat merkitä aivan eri.
Oil spills and international legislation Tapani Salmenhaara, KyAMK
Getting on Thursday Chapter 8 Grammar  verbi + ing (kestomuoto, gerundi) ja verbi + infinitiivi eli perusmuoto saattavat merkitä aivan eri.
Tekstitiedostosta lukeminen tMyn1 Tekstitiedostosta lukeminen Tiedosto voidaan avata pelkästään lukemista varten tai kirjoittamista ja lukemista varten.
Hallituksen esitys uudeksi yliopistolaiksi tulee eduskunnan käsittelyyn Yliopistolaisten keskuudessa lakiesitystä vastustetaan laajalti. Kritiikki.
Persistent Identifiers and Finnish Institutional Repositories
TAMPEREEN YLIOPISTOUNIVERSITY OF TAMPERE TIETOJENKÄSITTELYTIETEIDEN LAITOS DEPARTMENT OF COMPUTER SCIENCES Good evaluation practice guidelines for health.
Tutkimuksesta uutta tietoa ja liiketoimintaa – Tekesin TUTL-haku 2/2014 New knowledge and business from research ideas – TUTL application round 2/2014.
Mat Decision Making and Problem Solving
Typescript Lenard Gunda, Fujitsu. Lenard Gunda Arkkitehti Fujitsu Finland
Irmeli Sinkkonen TkL, tutkija
ENG Masters, part 2, Citing
Fiksu Opiskelija. Opetusaineisto jätteen synnyn ehkäisystä HSY Jätehuolto. Thoughts about Good Life Collected by Tuovi Kurttio, Pääkaupunkiseudun.
Prosessiongelmien analysointi- ja ratkaisupohjia Qualitas Fennica Oy Työkaluja | Qualitas Fennica Oy.
Finský intensivní Titta Hänninen.  1. What is the capital of Finland? ◦ Mikä on Suomen pääkaupunki? ◦ Helsinki on Suomen pääkaupunki.  2.
By Learning for Integration ry. Immigration issues in Finland: Somalis  Until the 1980s Finland was very much a homogenous society with only a few foreigners.
Vakiintuneet kustantajat ja uudet yrittäjät OA-monografiamaailmassa
CAF eTool Rekisteröitymisen kautta maksutta käyttöön Kansallinen laatuhanke /TjV 1.
Opiskella (to study) & kävellä (to walk) & tulla (to come) verbityyppi 3.
Infinitiivi + to-partikkeli
INFINITIIVI / ING-MUOTO
Verbin perusmuoto 1 ’TO SING’ OR ’SING’.
Click Start Search programs and file  region and language
Reflection in PLE Reflektio PLE:ssä
MyData – asiakas keskiöön
YLIOPISTOTENTTI / UNIVERSITY EXAM
vedestä, ilmasta ja tulesta.
Shortened clauses / sentences
Tulevaisuussuunnitelma Osa 3
Rakennusautomaatioyhdistys (RAY, “Building Automation Organization”) Sauna & introduction of Aalto University’s intelligent building technology pilot.
Probability models and decision analysis
DIC and BMA in BUGS Biotieteellinen tiedekunta / Henkilön nimi / Esityksen nimi
Probability models and decision analysis
COURSE: Indoor environment technology (5 ECTS)
Hankalia (?) tilanteita Tammikuu 2014 Keke Tulomäki
vedestä, ilmasta ja tulesta.
vedestä, ilmasta ja tulesta.
vedestä, ilmasta ja tulesta.
Structured Teaching Teacher Professional Development
X-ROAD ENVIRONMENTAL MONITORING
The Game Due: Wednesday, July 21st.
Otsikon asettelu Alaotsikko.
Implementing a System for Intentional Concurrency in Jikes RVM
Information for teachers
Lecture slides start on the next page.
Kari Systä Tampere University of Technology / Software Systems
NoodleTools: How to Cite
Beekeeping at ctjs By Qarnayn
Chapter 4: Demand Section 1
Student Silent Movie Project
TITLE GOES HERE Your Subtitle LOREM IPSUM DOLOR LOREM IPSUM DOLOR
Project Title By Design and format everything as you see fit. Make it look visually appealing, professional and easy to understand. Don't get too crazy.
OPENING SLIDE Your Subtitle.
Esityksen transkriptio:

R ja QRMlib-kirjasto Anssi Käki Työn saa tallentaa ja julkistaa Aalto-yliopiston avoimilla verkkosivuilla. Muilta osin kaikki oikeudet pidätetään.

R-asennus 1.Install R (version ), use root folder instead of "Program files". In these instructions, it is assumed that the home folder is C:\R\R \. Modify, if necessary. 2.Using My Computer or Explorer test for the existence of the folder C:\R\R \Users. If ‘Users’ folder does NOT EXIST, create it. Each separate project should be built in a subfolder of the ‘Users’ folder. Next create a ‘QRMBook’ subfolder beneath the ‘Users’ subfolder. You should now have a folder C:\R\R \Users\QRMBook which you will use only for running code from the QRMlib package. 3.Right-click the desktop and choose New | Shortcut from the menu. 4.Copy the following line into your clipboard: C:\R\R \bin\i386\Rgui.exe and paste the line into the box labeled “Type the location of the item”. 5.Click the Next button. 6.Type QRMBook into the box labeled “Type a name of this shortcut”. Then click the Finish button. 7.Find the shortcut you just created on your desktop. It will be labeled “QRMBook”. Right-click the icon for the shortcut and choose ‘Properties’. 8.The ‘Start in’ box says C:\Program Files\R\R \bin. Modify it to read C:\R\R \Users\QRMBook Then click OK. 9.Test the shortcut to open R. Use command getwd() to verify that workspace is …/Users/QRMBook.

QRMlib-asennus 1.Start R. 2.Select Packages/Install Packages. 3.Choose some mirror server, e.g. Sweden, then select QRMlib from the list and click OK. 4.After a successful installation, there should be a folder QRMlib under...\R \library 5.Copy file.Rprofile from QRMlib (or, if not there, check QRMlib\Chap2 folder) to QRMBook folder => this will make QRMlib to be loaded automatically, when you run R in the QRMBook workspace. It is also possible to manually load QRMlib in R with command ‘library(QRMlib)’ 6.Copy also folders Chap2...8 to QRMBook folder. These folders contain scripts for different chapters in the book. In all exercises, modify the versions in the QRMBook folder, not the originals. 7.Data that is provided with the book is located at...\R \library\QRMlib\data. To load a particular dataset (e.g., sp500), use command 'data (sp500)' in R 8.To test, open script (File/Open script…) S1-ReturnDistributions.R under folder Chap2. 9.In the script windows, press Ctrl-A (to select all) and Ctrl-R (to run selection). Script should run, resulting in numerical outputs and few graphs. 10.When you close R, you can choose to save the workspace with the all loaded datasets, so there's no need to reload them later. (Select only folder QRMBook, workspace is automatically saved to.Rdata file)

Dokumentaatio •Kurssin kotisivuilta saat käyttöösi seuraavat dokumentit: –Geneerinen R:n käyttöopas: An introduction to R. Notes on R: A Programming Environment for Data Analysis and Graphics. (W. N. Venables, D. M. Smith and the R Development Core Team) –QRM-kirjaston kuvaus: QRMlib. Documentation of the R-language code to investigate concepts in a Quantitative Risk Management book. (S-Plus Original by Alexander McNeil; R-language port by Scott Ulman) •Jos edellä annetut ohjeet ja ym. opukset eivät riitä R:n ja QRMlib:n asennukseen, ota yhteys assisstenttiin!

Kotitehtävä 1.Suorita testisessio R:ssä liitteen A mukaisesti (kts. ”An Introduction to R”, s ). 2.Kirjoita R-skripti, joka: a)Generoi kaksi pistejoukkoa (n=100): 1.y1=x+ ɛ 1, missä x=[1,…,100] ja ɛ 1 ~N(10,20) 2.y2=2x+ ɛ 2, missä x=[1,…,100] ja ɛ 1 ~N(10,10) b)Sovittaa lineaariset regressiosuorat pistejoukkoihin c)Generoi viereisen kuvaajan. 3.Raportoi kohta 2. kirjallisesti (skripti ja kuvaaja riittävät)