<?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 Santhushiekanayake on Medium]]></title>
        <description><![CDATA[Stories by Santhushiekanayake on Medium]]></description>
        <link>https://medium.com/@santhushiekanayake?source=rss-f7c2b42ef2fd------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*4rQg7KvbXAI3sott</url>
            <title>Stories by Santhushiekanayake on Medium</title>
            <link>https://medium.com/@santhushiekanayake?source=rss-f7c2b42ef2fd------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 02 Dec 2026 04:32:32 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@santhushiekanayake/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[Power BI versions and a Differences Report]]></title>
            <link>https://medium.com/@santhushiekanayake/power-bi-versions-and-a-differences-report-2b30ab5640c5?source=rss-f7c2b42ef2fd------2</link>
            <guid isPermaLink="false">https://medium.com/p/2b30ab5640c5</guid>
            <dc:creator><![CDATA[Santhushiekanayake]]></dc:creator>
            <pubDate>Tue, 23 Jul 2024 04:34:28 GMT</pubDate>
            <atom:updated>2024-07-23T04:34:28.577Z</atom:updated>
            <content:encoded><![CDATA[<p>Among the tools that can be connected with the help of Power BI it is possible to call those that refer to business intelligence associated with data analysis or its reporting. Today, Power BI is available in three main versions, which, depending on the degree of client company’s requirements and its scale, fundamentally differ from each other. Thus, it is also possible to state that this report aims to compare the outlined versions and define the difference between them.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/284/1*V-Ww_TYd3Z9hLT7MnAu8Mw.png" /></figure><p><strong>Power BI platforms</strong></p><p>Platform Selection is one of the ways through which Power BI informs its users that it offers them an option of which platform to use between the following ones.</p><p>■■ Power BI service</p><p>■■ Power BI Desktop</p><p>■■ Power BI Premium</p><h4>1. Power BI Desktop</h4><p><strong>Description:</strong></p><ul><li>A full-fledged application for the PC all on its own.</li></ul><p>• Beneficial to single users and data analysts who need the create licenses’ capabilities for generating reports and dashboards.</p><p><strong>Key Features:</strong></p><ul><li>Some of the sub processes involved, are data modeling and data transformation.</li></ul><p>• Such as customs visualizations and reports.</p><ul><li>Row Contexts in order to calculate something with Data Analysis Expressions (DAX).</li><li>This one will involve integrating information from the other sources within the view of the archetypes.</li></ul><p><strong>Limitations:</strong></p><ul><li>Absence of teamwork and communal application-type amenities in the sphere of the project.</li></ul><p>• It also possible to schedule that some of the reports can be published into Power BI service for sharing.</p><p>• It can only be run on computers that are within the same network only.</p><h4>2. Power BI Service (Power BI Pro)</h4><p><strong>Description:</strong></p><ul><li>A feature that supplements the application known as Power BI Desktop by enhancing it and hosting the accessory on Microsoft’s cloud.</li></ul><p>• it relates to the work in teams, sharing, and publishing of the reports, as well as the dashboards it encompasses..</p><p><strong>Key Features:</strong></p><ul><li>Collaboration features: contributes to the communication of the users in relation to the share, comments and data alerts.</li></ul><p>• Scheduled data refresh.</p><p>• Web and mobile convenient means of working while using the convenient of the dashboards, the reports and the datasets.</p><p>• They are; Microsoft Azure integration, Office 365, and SharePoint.</p><p><strong>Limitations:</strong></p><ul><li>It is installed per user, and as such, it requires the client’s subscription to obtain use of the application.</li></ul><p>• More share and cooperate option is there compare to Desktop.</p><p>• To be reported/used only by the team/organization.</p><h3>3. Power BI Premium</h3><p><strong>Description:</strong></p><ul><li>A subscription tier that is based on the capacity of the user’s system and adds the Pro features plus new possibilities.</li><li>Mainly applicable for large organizations that require the use of many analytical tools.</li></ul><p><strong>Key Features:</strong></p><ul><li>Specially allocated facilities for better result in the cloud computing environment.</li><li>Incorporation of more storage space and a larger dataset where the actual competition takes place.</li><li>Superior user administration and deployment options.</li><li>Paginated reports and Artificial intelligence tools.</li><li>Reporting with Power BI Report Server on premises.</li></ul><p><strong>Limitations:</strong></p><ul><li>The costs are relatively higher because it may require a set of specialized resources to perform this activity.</li><li>The use of the report viewers does not come with a per-user license.<br>Encompasses greater volumes of data and more regular updates of data.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/872/1*U1-EtFvzMpoE96gTjPI6zA.png" /><figcaption><strong>Comparison Summary</strong></figcaption></figure><h4>Conclusion</h4><p><strong>Depending on the requirements of the user and the needs of an organization, Power BI provides choice of instruments. Power BI desktop is suitable for navigation by one person, Power BI service (Pro) increases the possibilities of sharing in a teamwork setting, Power BI premium is suitable for a large-scale company with additional functional opportunities and private resources.</strong></p><p><strong>Depending on the requirements of the user and the needs of an organization, Power BI provides choice of instruments. Power BI desktop is suitable for navigation by one person, Power BI service (Pro) increases the possibilities of sharing in a teamwork setting, Power BI premium is suitable for a large-scale company with additional functional opportunities and private resources.</strong></p><p>THANK YOU!!!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2b30ab5640c5" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Analyzing and Visualizing the “50 Startups” Dataset with R and Shiny]]></title>
            <link>https://medium.com/@santhushiekanayake/analyzing-and-visualizing-the-50-startups-dataset-with-r-and-shiny-4e382f3f0180?source=rss-f7c2b42ef2fd------2</link>
            <guid isPermaLink="false">https://medium.com/p/4e382f3f0180</guid>
            <dc:creator><![CDATA[Santhushiekanayake]]></dc:creator>
            <pubDate>Fri, 31 May 2024 16:28:41 GMT</pubDate>
            <atom:updated>2024-06-01T01:40:30.126Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/450/1*-vfmMdYAOgGNg5is6K6Gyg.jpeg" /></figure><p>Welcome! Today, I will describe the process of my data analysis on the 50 Startups dataset and building the first predictive model in R. Overall, the goal of this article is to give you working knowledge on the following; Data preparation, Pattern recognition, and the creation of regression models and tools such as R Shiny.</p><h4>Exploring Data</h4><p>I selected the “50_Startups. csv” dataset from Kaggle. This dataset contain data on No. of startups, total R&amp;D spend, total administration cost, total cost on marketing, etc. and the total profit.</p><p>Research and development cost Control- This is the amount of money, which firm uses to fund its research and development activities. It is being necessary and can often push people to develop new ideas and create long-term value.</p><p><strong>1.Loading the data</strong></p><p>I loaded the 50_Startups. original data source– a csv file was created in the working directory while the csv dataset was read using the function “read. csv”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/797/1*LwJE0OXcmhSTFqwA4rT56Q.png" /></figure><p>To ensure that the dataset has been loaded properly, the working directory is checked and the first few of the dataset are depicted.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/784/1*97Z_iaoKnuUcbIvLgTu5-Q.png" /><figcaption>Code</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/786/1*fZhUyIuwZjMtor3Ohh5E5A.png" /><figcaption>Output</figcaption></figure><p>2.<strong>Finding Missing values</strong></p><p>Before starting the analysis I searched it there were any null values in the dataset.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/788/1*vD8ZFW8JEN-5ttos_AuUjA.png" /><figcaption>code to find null values</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/787/1*vgmschD5-Z4BdnVJTgkAAQ.png" /><figcaption>Output</figcaption></figure><p>This will give you the sum of null values in each column of the dataset:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/777/1*nEviWEOva3eA_4PprrVAxg.png" /></figure><p><strong>3. Summery Statics</strong></p><p>This function provides quick overview of your dataset and helps in understanding the distribution (range, quartiles, Interquartile range)and central tendency (mean, median) level of the variables in dataset.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/780/1*AF27wdYgG-U22RJtoUMrFQ.png" /></figure><p>The analysis of the datasets in relation to the summery draws the following conclusions. Spend of Revenues and other District expenses (R. D Spend) can be ranging from 0 to 165,349. 20 with a mean of $ 73,051. Category ‘Administration’ comprises of amount from 51,283 to 182, 646 while ‘Marketing. Spend’ is ranging between 0 and 471,784. The variable State is a character and the length of State is 50. The ‘Profit’ variable has a minimum of 14,681, maximum 192,262; the mean is 112,013 and the median is 107,978. Essentially, this summery gives a brief on the measure of central tendency and dispersion of the data.</p><p>This summary proves helpful in defining possible associations between the data entries. It was also posited that Marketing. Spend is positively related to Profit; meaning that increases in the amount spent marketing a product leads to increases in the amount of profit. All in all, the summery brings good benefits and correlation within the datasets.</p><h4>Visualizing data</h4><p>To analyze and compare datasets, I applied different kinds of plots to detect trends and relationships based on the 50 startups data.</p><ul><li><strong>Scatter Plot</strong>: To establish the correlation between the expenditures done on research and development and the profit that is earned.</li><li><strong>Box Plot</strong>: If it is necessary to know at what rate of dispersion profit is distributed across various states.</li><li><strong>Histogram</strong>: To obtain the probability distribution of the papers with respect to the topics of interest these are used.</li></ul><h4>Scatter Plot</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/780/1*CVaLvyuXh_MxzA8QmtRXiA.png" /><figcaption>Code</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/784/1*5j__ruAlZPxvJZUwG1qdOw.png" /><figcaption>Scatter plot of Marketing Spend vs Profit</figcaption></figure><h4>Box Plot</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/783/1*BniX3mnxuyhSUBgZY2rbJQ.png" /><figcaption>Code</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/782/1*cNioXI-pAWebwCelGV9J2A.png" /><figcaption>Box plot of Marketing Spend vs Profit</figcaption></figure><h4>Histogram</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/783/1*pSmwhNheoCZRwXKuFStQ3Q.png" /><figcaption>Code</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/784/1*17q_BD4-kwJq8IcjRythfA.png" /><figcaption>Histogram of Marketing Spend</figcaption></figure><h4>Working with R Shiny</h4><p>Interactive Graphs and Charts:</p><p>Since it was necessary to provide data for analysis that would help readers better understand the issues under discussion, interactive graphs and charts were created using R Shiny. This step assisted in developing hypotheses about the relations between different variables such as the R&amp;D Spend to Profit.</p><p>Overview of the R Shiny App: Overview of the R Shiny App:</p><p>R Shiny is an R package to build fully functional web applications from R code R Shiny allows the users to interact with the web application through several buttons and sliders that are embedded in the web application to allow the users to dynamically visualize the given dataset.</p><p>Code Explanation:</p><p>Below is the entire code that was used in constructing the R Shiny app; now let’s breakdown the elements of this code.</p><pre>library(shiny)<br><br># Load the Data<br>df &lt;- read.csv(&quot;C:/Users/hp/OneDrive/Documents/R/Assignment/50_Startups.csv&quot;)<br><br># Define UI for application that draws a scatter plot and histogram<br>ui &lt;- fluidPage(<br>  <br># Application title<br>  titlePanel(&quot;50 Startups Dataset Visualization&quot;), # Added missing comma here<br><br># Sidebar with action buttons<br>  sidebarLayout(<br>    sidebarPanel(<br>      sliderInput(&quot;rd_spend&quot;,<br>                  &quot;Select R&amp;D Spend Range:&quot;,<br>                  min = min(df$R.D.Spend), # Using backticks for the column name<br>                  max = max(df$R.D.Spend), # Using backticks for the column name<br>                  value = c(min(df$R.D.Spend), max(df$R.D.Spend))), # Using backticks for the column name<br>      actionButton(&quot;plot_hist&quot;, &quot;Plot Histogram of R&amp;D Spend&quot;),<br>      actionButton(&quot;plot_scatter&quot;, &quot;Plot Scatterplot of R&amp;D Spend vs. Profit&quot;)<br>    ),<br>    <br># Show a plot of the generated scatter plot or histogram<br>    mainPanel(<br>      plotOutput(&quot;distPlot&quot;)<br>    )<br>  )<br>)<br><br># Define server logic required to draw a scatter plot and histogram<br>server &lt;- function(input, output) {<br>  <br>  observeEvent(input$plot_hist, {<br>    output$distPlot &lt;- renderPlot({<br># Filter data based on selected R&amp;D spend range<br>      selected_data &lt;- df[df$R.D.Spend &gt;= input$rd_spend[1] &amp; df$R.D.Spend &lt;= input$rd_spend[2], ] # Using backticks for the column name<br>      <br># Plot histogram of R&amp;D Spend<br>      hist(selected_data$R.D.Spend,  <br># Using backticks for the column name<br>           col = &#39;darkgray&#39;, <br>           border = &#39;white&#39;,<br>           xlab = &#39;R&amp;D Spend&#39;,<br>           main = paste(&#39;Histogram of R&amp;D Spend in range&#39;, input$rd_spend[1], &#39;to&#39;, input$rd_spend[2]))<br>    })<br>  })<br>  <br>  observeEvent(input$plot_scatter, {<br>    output$distPlot &lt;- renderPlot({<br># Filter data based on selected R&amp;D spend range<br>      selected_data &lt;- df[df$R.D.Spend &gt;= input$rd_spend[1] &amp; df$R.D.Spend &lt;= input$rd_spend[2], ] # Using backticks for the column name<br>      <br># Plot scatter plot of R&amp;D Spend vs. Profit<br>      plot(selected_data$R.D.Spend, selected_data$Profit,  # Using backticks for the column name<br>           xlab = &#39;R&amp;D Spend&#39;,<br>           ylab = &#39;Profit&#39;,<br>           main = paste(&#39;Scatterplot of R&amp;D Spend vs. Profit in range&#39;, input$rd_spend[1], &#39;to&#39;, input$rd_spend[2]),<br>           col = &#39;blue&#39;,<br>           pch = 19)<br>    })<br>  })<br>}<br><br># Run the application <br>shinyApp(ui = ui, server = server)<br><br><br></pre><h4>UI Component:</h4><p>Indeed, the User Interface (UI) is defined with the help of the ‘fluidPage’ function which works on the principle of the fluid layout. The ‘titlePanel’ labels the app and the ‘sidebarLayout’ function splits the app into a sidebar and a larger main panel.</p><pre>SidebarPanel: This section of the page comprises of a slider bar to set the R &amp; D Spend range and buttons for generating a histogram or a scatter-graph.<br>setting up a slider for R&amp;D spend sliderInput(&quot;rd_spend&quot;, . .. ) enables users set the range of R&amp;D spend.<br>actionButton(&quot;plot_hist&quot;, &quot;Plot Histogram of R&amp;D Spend&quot;) generates a button to plot histogram.<br>actionButton(&quot;plot_scatter&quot;, &quot;Plot Scatterplot of R&amp;D Spend vs. Profit&quot;) overlays the function for the scatterplot.<br>MainPanel: This section is designated to show the plot dependent on the input data provided by the consumer.</pre><h4>Server Component:</h4><p>In the Server logic part, these reactive expressions and observers are included in the server function for the purpose of dealing with the user inputs and producing the corresponding plots.</p><pre>observeEvent(input$plot_hist, { … }) waits for click on the histogram button and then plot a histogram of the R&amp;D Spend in the given range.w<br>Consequently, &lt;!NULL&gt; output$distPlot &lt;- renderPlot({ . .. }) produces a plot of the distributions of inputs and outputs, reduced to the selected range.<br>observeEvent(input$plot_scatter, { }) listens for the click on the scatterplot button and generates the scatterplot: R&amp;D Spend vs. Profit in the selected range.<br>The plot is generated by the code output$distPlot &lt;- renderPlot({ . .. }) while the other is a plot of sales filtered by selected range.</pre><h4>App Capabilities:</h4><p>Using this undertaking, readers will be able to interactively analyze the correlation of R &amp; D Spend and Profit whereby by changing the range of spend values, the application displays histograms and scatter plots graphs to assist readers in comprehending the results obtained. One probably benefit of this is that the interactive forms of data analysis make data exploration more entertaining and productive.</p><p>Ex: 01</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/890/1*y6PgI73RS2Mt-uVrX0l2Yw.png" /><figcaption>1</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/886/1*NWrXIVjIMPHng3BEKzPFSg.png" /></figure><p>Ex: 02</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/885/1*RJ91Y_k-wc99F9pTEFzXvQ.png" /><figcaption>2</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/886/1*_pD0-HyFKSZlnDhO54ra4w.png" /></figure><p>Ex: 03</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/888/1*0IIAmK1c5ngYlMDCNsv1Lw.png" /><figcaption>3</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/886/1*-awlrBbfAbB6ox4UPX_mfw.png" /></figure><p>Ex: 04</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/877/1*VIG82AU_0R6R-TkXvoskaw.png" /><figcaption>4</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/886/1*8G_zlMuUf0JKxOFIbuH3uQ.png" /></figure><h3>Seeing Patterns</h3><h4>Pattern Discovery:</h4><p>Thus, the data analysis unveiled several patterns with the help of data visualization techniques. Notably, there was a clear positive correlation between the amount spent on Research and development and the Profit earned. This is an indication that among various factors that may can be used to predict a startup’s financial performance, investment in R&amp;D is a good one.</p><h4>Importance of Patterns:</h4><p>It is important to comprehend these patterns when crafting a company’s strategic management initiatives. Business start-ups can manage their available resources better when directed towards the places that bring in profit.</p><p>Regression models or regression equations are used in making predictions on the relationship between dependent and independent variables.</p><h4>Regression Models:</h4><p>For forecasting future profits, the utilization of linear regression models was done. Here’s how I set up and evaluated the model:Here’s how I set up and evaluated the model:</p><h4>Prediction Results:</h4><p>The analysis of the model also indicated that R &amp; D Spend has a positive and strong effect on the profit while Administration and Marketing Spend have small effects. Indeed, it can be seen that the trends matched the real profit values, proving the efficiency of the model.</p><p>Putting It All Together.</p><h3>Making Predictions (Using Regression Models)</h3><h4>Regression Models:</h4><p>To predict future profits, I employed linear regression models. Here’s how I set up and evaluated the model:</p><h4>Prediction Results:</h4><p>The model revealed that R&amp;D Spend is a significant predictor of Profit, while Administration and Marketing Spend have less impact. The predictions aligned well with the actual profit values, demonstrating the model’s effectiveness.</p><h3>Putting It All Together</h3><h4>Combining Predictions with Graphs:</h4><p>To get the further comparative perspective, I integrated the predictive model with the use of interactive graphs. It made it possible to view the historical trends in relation to the data and at the same time make predictions for the days to come.</p><h4>Key Learnings:</h4><p>From the above analysis, it is possible to conclude that investment in R&amp;D is highly significant for any startup. The integration of interactive visualization features along with the predictive modeling in R makes the tool most suitable for the data analytics.</p><p>This example with the 50 Startups dataset underlines how useful data analysis and predictive modeling can be with the help of R. Happy analyzing!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/259/1*6L7omHFnWLxmrr04wD6E6A.jpeg" /></figure><p>Feel free to access the dataset from <a href="https://www.kaggle.com/datasets">Kaggle</a> :</p><p><a href="https://www.kaggle.com/datasets/root64shivansh/profit-in-startup-of-a-company">Profit in Startup of a Company</a></p><h4>Thank you!</h4><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4e382f3f0180" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>