<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Thilokpriya Jayawickrama on Medium]]></title>
        <description><![CDATA[Stories by Thilokpriya Jayawickrama on Medium]]></description>
        <link>https://medium.com/@dilanthilokpriya?source=rss-220bf5bf4475------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*TAtgDZWDZgxEM26w5oc4hw.jpeg</url>
            <title>Stories by Thilokpriya Jayawickrama on Medium</title>
            <link>https://medium.com/@dilanthilokpriya?source=rss-220bf5bf4475------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 02 Dec 2026 04:39:01 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@dilanthilokpriya/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[An In-Depth Analysis of Desktop, Service, and Mobile.]]></title>
            <link>https://medium.com/@dilanthilokpriya/an-in-depth-analysis-of-desktop-service-and-mobile-7223e843ee5f?source=rss-220bf5bf4475------2</link>
            <guid isPermaLink="false">https://medium.com/p/7223e843ee5f</guid>
            <dc:creator><![CDATA[Thilokpriya Jayawickrama]]></dc:creator>
            <pubDate>Tue, 23 Jul 2024 04:49:21 GMT</pubDate>
            <atom:updated>2024-07-23T04:49:21.938Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/340/1*60I6ukZjMZZs_ZJb3cxCLg.jpeg" /></figure><h3>Introduction to Power BI</h3><p>Power BI, created by Microsoft, is a collection of business analytical tools that empowers users to visualize data, exchange insights, and make informed decisions based on data. It seamlessly integrates with other Microsoft products, which makes it a favored option for organizations that depend on Microsoft technologies. Power BI delivers strong data preparation, data exploration, and interactive dashboards to meet a wide variety of business requirements.</p><p>There are three main platforms within the Power BI ecosystem:</p><ol><li><strong>Power BI Desktop</strong>: A powerful, on-premises application for creating detailed and sophisticated data visualizations and reports.</li><li><strong>Power BI Service (Cloud)</strong>: An online service that allows users to share, collaborate on, and distribute reports and dashboards across their organization.</li><li><strong>Power BI Mobile</strong>: Mobile applications that provide access to Power BI reports and dashboards on smartphones and tablets, enabling data insights on the go.</li></ol><p>Each platform plays a distinct role in the data analysis and business intelligence process, offering unique features tailored to different aspects of data handling and visualization.</p><h3>Power BI Platforms</h3><h4>Power BI Desktop</h4><p><strong>Definition:</strong> Power BI Desktop is a desktop application used to create reports and data visualizations locally.<br><strong>Key Features:<br></strong>Data preparation capabilities (query editor).Advanced data modeling using DAX (Data Analysis Expressions).Visualization creation and customization.</p><h4>Power BI Service (Cloud)</h4><p><strong>Definition:</strong> Power BI Service is a cloud-based platform for sharing, collaboration, and hosting Power BI reports and dashboards.<br><strong>Key Features:<br></strong>Web-based interface for accessing and viewing reports.Integration with Microsoft 365 and other data sources.Sharing and collaboration functionalities.Automated data refresh and scheduled report delivery.</p><h4>Power BI Mobile</h4><p><strong>Definition:</strong> Power BI Mobile refers to the mobile app versions available for iOS, Android, and Windows devices.<br><strong>Key Features:<br></strong>View and interact with Power BI reports on mobile devices. Offline access to reports and dashboards.Integration with mobile-specific features (e.g., touch interface, notifications).</p><h3>Similarities and Differences</h3><h4>Similarities</h4><p><strong>Unified Ecosystem:</strong> All platforms are part of the Power BI ecosystem, ensuring seamless integration and compatibility.<br><strong>Data Connectivity:</strong> Each platform supports a wide range of data sources for import and real-time analysis.<br><strong>Security:</strong> Microsoft’s security protocols ensure data protection across all platforms.</p><h4>Differences</h4><p><strong>Functionality:</strong> Power BI Desktop offers advanced data modeling and report creation capabilities that are not fully available in the Service or Mobile platforms.<br><strong>Access and Collaboration:</strong> Power BI Service excels in sharing, collaboration, and cloud-based data storage compared to Desktop and Mobile.<br><strong>Mobility:</strong> Power BI Mobile focuses on delivering optimized reports and dashboards for mobile viewing and interaction, distinct from the other platforms.</p><h3>Conclusion</h3><p>In summary, Power BI is a flexible and all-encompassing business intelligence solution that delivers strong capabilities for visualizing data and generating reports across its primary platforms: Desktop, Service (Cloud), and Mobile. While Power BI Desktop provides powerful tools for modeling data and creating reports, Power BI Service stands out in terms of collaboration, sharing, and accessibility via the cloud. Power BI Mobile ensures that data insights can be accessed from any location at any time, thus improving decision-making on the move.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7223e843ee5f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Exploring Data and Making Predictions Using R: A Journey with Apple Stock Prices.]]></title>
            <link>https://medium.com/@dilanthilokpriya/exploring-data-and-making-predictions-using-r-a-journey-with-apple-stock-prices-a0a3bc4d09e0?source=rss-220bf5bf4475------2</link>
            <guid isPermaLink="false">https://medium.com/p/a0a3bc4d09e0</guid>
            <dc:creator><![CDATA[Thilokpriya Jayawickrama]]></dc:creator>
            <pubDate>Thu, 30 May 2024 10:38:05 GMT</pubDate>
            <atom:updated>2024-05-30T10:38:05.722Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*reLI72903G4xP7MgP7Az5w.jpeg" /></figure><p><strong><em>Hi there, lovers of data! </em></strong>I have started a fascinating voyage of data exploration and prediction with R, concentrating on the Kaggle dataset <strong>Apple Stock Prices Dataset</strong>. The objective was to comprehend patterns in stock prices, efficiently illustrate them, and use regression models to forecast them. I’ll take you through my steps in this article, starting with data preparation and ending with producing predictions using R Shiny interactive visualizations. This resource can help you improve your abilities or learn more about data analysis, regardless of your experience level.</p><h3>Exploring Data</h3><h3>Understanding Data Structure</h3><p>I decided to use the <strong>Apple Stock Prices Dataset</strong> for this project, which is available <a href="https://www.kaggle.com/datasets/timoboz/nyse-stocks">https://www.kaggle.com/datasets/timoboz/nyse-stocks</a> . This dataset contains information on Apple Inc.’s previous stock values, including open, high, low, close, and trading volumes.<br>I began by importing the dataset into R and doing some preliminary transformation and cleaning. This included reading the dataset, loading the required libraries, and formatting the date column to the correct format. In order to make sure the data was clean and prepared for analysis, I also looked for any missing values.</p><pre># Importing Libraries<br>library(ggplot2)<br><br># Loading Data<br>apple_data &lt;- read.csv(&quot;AAPL.csv&quot;)<br><br># Summary<br>summary(apple_data)<br><br># Loading fisrt few rows of the dataset<br>head(apple_data)<br><br># Finding Missing Values<br>colSums(is.na(apple_data))<br><br># Convert the Date column to Date type<br>apple_data$Date &lt;- as.Date(apple_data$Date)</pre><h3><strong>Interesting Findings</strong></h3><p>We can use R script or Notebook to visualize this dataset using plots.</p><p>Histogram</p><pre>ggplot(apple_data, aes(x = Volume)) +<br>  geom_histogram( binwidth = 1000000,color = &quot;navy&quot;) +<br>  labs(title = &quot;Histogram of Trading Volume vs Frequency&quot;, x = &quot;Volume&quot;, y = &quot;Frequency&quot;)</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lCix4CZI-vtEdVqBlYNWxA.png" /></figure><p>Scatter Plot</p><pre>ggplot(apple_data, aes(x = Date, y = Close, color = Volume)) +<br>  geom_point() +<br>  labs(title = &quot;Scatter Plot of Closing Prices vs Date Colored by Volume&quot;, x = &quot;Date&quot;, y = &quot;Closing Price&quot;)</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pgVZFc8k0DdWvGUYQ2X6Dg.png" /></figure><p>Box Plot</p><pre>ggplot(apple_data, aes(, y = Close)) +<br>  geom_boxplot(fill = &quot;brown&quot;) +<br>  labs(title = &quot;Box Plot of Closing Prices&quot;, x = &quot;&quot;, y = &quot;Closing Price&quot;)</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/865/1*apCJaeerpfwDpdBoGXQ6gA.png" /></figure><p>I discovered several interesting patterns. For example, the stock prices showed clear trends and seasonal patterns. Visualizing these trends with line plots revealed the overall upward trajectory of Apple’s stock price over the years.</p><h3>Working with R Shiny</h3><p>To make the data exploration process more interactive, I used R Shiny. Shiny allows you to create web applications directly from R, enabling users to interact with the data and visualizations dynamically.</p><pre>library(shiny)<br><br># Load the data<br>apple_data &lt;- read.csv(&quot;AAPL.csv&quot;)<br><br># Convert the Date column to Date type<br>apple_data$Date &lt;- as.Date(apple_data$Date)<br><br># UI<br>ui &lt;- fluidPage(<br>  titlePanel(&quot;Apple Stock Data Dashboard&quot;),<br>  sidebarLayout(<br>    sidebarPanel(<br>      selectInput(&quot;startDate&quot;,<br>                  &quot;Select Start Date:&quot;,<br>                  choices = unique(apple_data$Date),<br>                  selected = min(apple_data$Date)),<br>      selectInput(&quot;endDate&quot;,<br>                  &quot;Select End Date:&quot;,<br>                  choices = unique(apple_data$Date),<br>                  selected = max(apple_data$Date))<br>    ),<br>    mainPanel(<br>      tabsetPanel(<br>        tabPanel(&quot;Closing Price Scatter Plot&quot;, plotOutput(&quot;scatterPlot&quot;)),<br>        tabPanel(&quot;Volume Histogram&quot;, plotOutput(&quot;histogram&quot;)),<br>        tabPanel(&quot;Open vs Close Prices Line Plot&quot;, plotOutput(&quot;linePlot&quot;))<br>      )<br>    )<br>  )<br>)<br><br># Server<br>server &lt;- function(input, output) {<br>  filtered_data &lt;- reactive({<br>    apple_data[apple_data$Date &gt;= input$startDate &amp; apple_data$Date &lt;= input$endDate, ]<br>  })<br>  <br>  output$scatterPlot &lt;- renderPlot({<br>    data &lt;- filtered_data()<br>    plot(data$Date, data$Close, <br>         main = &quot;Scatter Plot of Closing Prices&quot;,<br>         xlab = &quot;Date&quot;, ylab = &quot;Closing Price&quot;, <br>         pch = 19, col = &quot;darkgreen&quot;)<br>  })<br>  <br>  output$histogram &lt;- renderPlot({<br>    data &lt;- filtered_data()<br>    hist(data$Volume, <br>         main = &quot;Histogram of Trading Volume&quot;,<br>         xlab = &quot;Volume&quot;,<br>         col = &quot;purple&quot;, breaks = 30)<br>  })<br>  <br>  output$linePlot &lt;- renderPlot({<br>    data &lt;- filtered_data()<br>    plot(data$Date, data$Open, <br>         type = &quot;l&quot;, col = &quot;black&quot;, <br>         xlab = &quot;Date&quot;, ylab = &quot;Price&quot;, <br>         main = &quot;Open vs Close Prices Over Time&quot;)<br>    lines(data$Date, data$Close, col = &quot;red&quot;)<br>    legend(&quot;topright&quot;, legend = c(&quot;Open&quot;, &quot;Close&quot;), col = c(&quot;black&quot;, &quot;red&quot;), lty = 1)<br>  })<br>}<br><br># Run the application<br>shinyApp(ui = ui, server = server)</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XCl6Da7fZfc-kDUzDpsiXQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5XPRzk6CRPwJj9-BtkgBHQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*E0aYYgqKHbsRdtzwUE_O6w.png" /></figure><p>The Shiny app allows you to explore the stock prices over a selectable date range dynamically. Users can see how prices fluctuate over time and analyze the distribution of daily returns interactively. This feature is particularly useful for identifying trends and patterns that might not be immediately obvious in static plots.</p><h3>Seeing Patterns</h3><p>Several trends were found after examining the dataset. For example, when Apple Inc. made key announcements or launched new products, the stock prices showed notable rising tendencies. On top of that, there were certain seasonal fluctuations in the stock values, with clear decreases and increases throughout specific periods yearly.<br>In order for analysts and investors to make wise choices, they must be able to identify these trends. Planning investments and making predictions about the future may be made easier by having a solid understanding of past stock price trends and patterns.</p><h3>Making Predictions (Using Regression Models)</h3><p>To predict future stock prices, I employed multiple linear regression. This technique helps understand the relationship between the dependent variable (current day’s closing price) and independent variables (such as the previous day’s closing price and trading volume)</p><pre>lm_model &lt;- lm(Close ~ Open, data = apple_data)<br>summary(lm_model)</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*09QqakOlRZGkA1V-Qjqk3Q.png" /></figure><p>The regression model showed that variables like the previous day’s closing price and trading volume have a significant impact on the current day’s closing price. This insight is valuable for making short-term predictions and understanding the factors influencing stock prices.</p><h3>Integrating Everything</h3><p>A thorough grasp of the data is possible when interactive visuals and prediction models are combined. Users may examine past stock values and view projected prices depending on chosen input factors by integrating the regression model into the Shiny interface. This combination strengthens the app’s analytical capabilities, which makes it a helpful tool for both exploration and prediction.</p><h3>Final Thoughts</h3><p>It was a wonderful and instructive experience to use R to explore data and make predictions. I found useful insights and made precise forecasts by utilizing R’s features for data cleansing, modeling, and visualization as well as R Shiny’s ability to improve interaction. I hope this post encourages you to explore the possibilities of R and get started on your own data projects.<br>Please feel free to examine the code and give it a try. Cheers to your analysis!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a0a3bc4d09e0" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>